Skip to content

Commit

Permalink
Fix: close and release on CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodehawa committed Dec 27, 2023
1 parent 765018f commit 99c5029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'created'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./gradlew publishToSonatype
- run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
if: github.event_name == 'release' && github.event.action == 'created'
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
Expand Down

0 comments on commit 99c5029

Please sign in to comment.