We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d07377d + c26dc89 commit f41ee9eCopy full SHA for f41ee9e
1 file changed
.github/workflows/main-build.yml
@@ -13,6 +13,8 @@ jobs:
13
build:
14
name: Build
15
runs-on: ubuntu-latest
16
+ permissions:
17
+ contents: read
18
strategy:
19
matrix:
20
java-version: [ 17 ]
@@ -31,7 +33,7 @@ jobs:
31
33
32
34
needs: [ build ]
35
permissions:
- contents: read
36
+ contents: write
37
packages: write
38
steps:
39
- name: Checkout
@@ -98,5 +100,5 @@ jobs:
98
100
run: |
99
101
mvn -B -ntp -fae -Dmaven.install.skip=true -Dmaven.test.skip=true -DdeployAtEnd=true -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/cap-java/sdm deploy
102
env:
- GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
103
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104
shell: bash
0 commit comments