Skip to content

Commit 3b62f72

Browse files
committed
chore: add GH_TOKEN environment variable to publish workflow for authentication
1 parent 4395068 commit 3b62f72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656
export STAGING=$(printf "%s" $(./gradlew stagingPath --quiet))
5757
gh release create ${{ github.event.workflow_run.head_sha }} --generate-notes $STAGING/* --verify-tag
5858
if: ${{ steps.detect-tag.outputs.is_tag == 'true' }}
59+
env:
60+
GH_TOKEN: ${{ github.token }}
5961
- run: ./gradlew publishToMavenCentral --info
6062
if: ${{ steps.detect-tag.outputs.is_tag == 'true' }}
6163
env:

0 commit comments

Comments
 (0)