Skip to content

Commit 21bb05b

Browse files
authored
Update maven-publish.yml
some paths adjusted
1 parent 9633049 commit 21bb05b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
java-version: '8.0.402+6'
2424
distribution: 'temurin'
2525
server-id: jitpack.io # Value of the distributionManagement/repository/id field of the pom.xml
26-
settings-path: ${{ github.workspace }} # location for the settings.xml file
26+
settings-path: ${{ github.workspace }}/java # location for the settings.xml file
2727

2828
- name: Build with Maven
2929
working-directory: ./java
3030
run: mvn -B package --file pom.xml
3131

3232
- name: Publish to GitHub Packages Apache Maven
3333
working-directory: ./java
34-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
34+
run: mvn deploy -s $GITHUB_WORKSPACE/java/settings.xml
3535
env:
3636
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)