Skip to content

Commit 414a334

Browse files
authored
Update maven-release.yml
1 parent 2890b5e commit 414a334

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/maven-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
uses: actions/setup-java@v1
7575
with:
7676
java-version: 1.8
77+
settings-path: ${{ github.workspace }} # location for the settings.xml file
7778
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
7879

7980
- name: Publish to GitHub Packages Apache Maven
@@ -85,6 +86,7 @@ jobs:
8586
uses: actions/setup-java@v1
8687
with: # running setup-java again overwrites the settings.xml
8788
java-version: 1.8
89+
settings-path: ${{ github.workspace }} # location for the settings.xml file
8890
server-id: repsy # Value of the distributionManagement/repository/id field of the pom.xml
8991
server-username: REPSY_USERNAME # env variable for username in deploy
9092
server-password: REPSY_PASSWORD # env variable for password in deploy

0 commit comments

Comments
 (0)