Skip to content

Commit

Permalink
Fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
boswelja authored Sep 17, 2023
1 parent 7ba69b3 commit 9d86e79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,6 +23,6 @@ jobs:
run: ./gradlew publish --scan
env:
ORG_GRADLE_PROJECT_githubUsername: boswelja
ORG_GRADLE_PROJECT_githubToken: ${{ GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit 9d86e79

Please sign in to comment.