There was an error while loading. Please reload this page.
2 parents 5e2099a + 5084743 commit 3168920Copy full SHA for 3168920
1 file changed
.github/workflows/publish.yml
@@ -18,15 +18,16 @@ jobs:
18
steps:
19
- uses: actions/checkout@v4
20
21
- - uses: aboutbits/github-actions-java/setup-and-install@v3
+ - uses: aboutbits/github-actions-java/setup@v3
22
23
- name: Set Version
24
run: sed -i 's|<version>BUILD-SNAPSHOT</version>|<version>${{ github.event.inputs.version }}</version>|g' pom.xml
25
26
- name: Publish package
27
- run: mvn --batch-mode deploy
+ run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml --batch-mode deploy
28
env:
29
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_USER_NAME: ${{ github.actor }}
30
+ GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
32
tag:
33
timeout-minutes: 5
0 commit comments