From 8775700377c61cfafb6a7402dc268905fbc9e434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20S=C3=A9nave?= <59770457+nsenave@users.noreply.github.com> Date: Sat, 20 Jul 2024 01:27:58 +0200 Subject: [PATCH] ci(gradle): use gradle-build-action for now (#17) --- .github/workflows/release.yaml | 4 +++- .github/workflows/snapshot.yaml | 4 +++- .github/workflows/test.yaml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 906e22d..1381cb5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -69,7 +69,9 @@ jobs: gpg-passphrase: GPG_PASSWORD - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/gradle-build-action@v3 + # Note: the action recommends to switch to gradle/actions/setup-gradle@v3 + # but this change makes the publish task fail at initialization of stating repository. - name: Publish DDI Lifecycle lib on Maven Central run: | diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index f4c04db..94210c3 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -24,7 +24,9 @@ jobs: java-version: ${{ env.JAVA_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/gradle-build-action@v3 + # Note: the action recommends to switch to gradle/actions/setup-gradle@v3 + # but this change makes the publish task fail at initialization of stating repository. - name: Get DDI-Lifecycle lib version id: version-step diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 886a4d6..aece19b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,7 @@ jobs: java-version: ${{ env.JAVA_VERSION }} - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/gradle-build-action@v3 # Use this action here while it's still use in publishing workflows. - name: DDI Lifecycle lib tests run: |