Skip to content

Commit 866659d

Browse files
committed
More fix
1 parent 51f5747 commit 866659d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-java.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
permissions:
21-
contents: read
21+
contents: write
2222
id-token: write
23+
packages: write
2324

2425
steps:
2526
- uses: actions/checkout@v3
@@ -29,6 +30,7 @@ jobs:
2930
with:
3031
java-version: 21
3132
distribution: zulu
33+
server-id: github
3234

3335
- name: Setup Maven authentication to GitHub packages
3436
uses: s4u/maven-settings-action@v2.8.0

0 commit comments

Comments
 (0)