Apply suggestions from code review
diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
index a5a3e41..24cd924 100644
--- a/.github/workflows/release-notes.yml
+++ b/.github/workflows/release-notes.yml
@@ -24,7 +24,7 @@
echo ::set-output name=has_release_drafter::${has_release_drafter}
- name: Extract branch name
id: extract_branch
- run: echo ::set-output name=value::${GITHUB_REF:11}
+ run: echo "value=${GITHUB_REF:11}" >> $GITHUB_STATE
# If it has release drafter:
- uses: release-drafter/release-drafter@v5
if: steps.check_release_drafter.outputs.has_release_drafter == 'true'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bd14bac..c130d3a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -57,13 +57,11 @@
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate secring file
- if: success() && false
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
- name: Publish to Sonatype OSSRH
id: publish
- if: success() && false
uses: gradle/gradle-build-action@v2
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
diff --git a/.github/workflows/retry-release.yml b/.github/workflows/retry-release.yml
index 17b97c6..982964b 100644
--- a/.github/workflows/retry-release.yml
+++ b/.github/workflows/retry-release.yml
@@ -26,7 +26,7 @@
ref: "v${{ github.event.inputs.release }}"
token: ${{ secrets.GH_TOKEN }}
- name: Set up JDK
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
+ uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11