Skip to content

Commit

Permalink
fix: automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
manosbatsis committed Dec 29, 2023
1 parent cb1cf9e commit 44701f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 30
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -57,7 +62,7 @@ jobs:

- uses: gradle/gradle-build-action@v2
if: github.ref == 'refs/heads/master'
name: Publish snapshot to Maven Central
name: Publish to Maven Central
env:
ORG_GRADLE_PROJECT_signingKey: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEY}}
ORG_GRADLE_PROJECT_signingKeyId: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID}}
Expand Down

0 comments on commit 44701f9

Please sign in to comment.