Skip to content

Commit

Permalink
Update github release
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Dec 27, 2023
1 parent 6dcb929 commit 94c66c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ jobs:
id: release_version
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: Generate secring file
id: secring
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
- name: Publish to Sonatype OSSRH
id: publish
if: steps.assemble.outcome == 'success'
if: steps.secring.outcome == 'success'
uses: gradle/gradle-build-action@v2
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Expand Down

0 comments on commit 94c66c4

Please sign in to comment.