Skip to content

Commit 40a03ff

Browse files
committed
Try to fix credential issue
1 parent 4e4ecb7 commit 40a03ff

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
permissions:
10+
contents: read
11+
packages: write
12+
913
jobs:
1014
build:
1115

@@ -25,5 +29,6 @@ jobs:
2529
- name: Publish package
2630
run: ./gradlew publish
2731
env:
32+
USERNAME: ${{ github.actor }}
2833
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2934

0 commit comments

Comments
 (0)