Skip to content

Commit

Permalink
Publish workflow fixes. (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanDYDX authored Sep 9, 2024
1 parent 38d0f54 commit 7ecbc2f
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 @@ -37,7 +37,7 @@ jobs:
permissions:
contents: write
steps:
- uses: jaywcjlove/create-tag-action@v2
- uses: jaywcjlove/create-tag-action@v2.2.0
with:
version: ${{ needs.check-version.outputs.new_version }}
release: true
Expand All @@ -48,6 +48,9 @@ jobs:
runs-on: ubuntu-latest
needs: check-version
permissions:
# not sure why "contents: read" is needed, but it is specified explicitly in the guide here:
# https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-java-packages-with-gradle#publishing-packages-to-github-packages
contents: read
packages: write
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 7ecbc2f

Please sign in to comment.