Skip to content

Commit c6abdef

Browse files
authored
Update maven-publish.yml
1 parent d1f63dd commit c6abdef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/maven-publish.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ jobs:
1818
uses: actions/setup-java@v1
1919
with:
2020
java-version: 1.8
21-
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
22-
settings-path: ${{ github.workspace }} # location for the settings.xml file
2321

2422
- name: Build with Maven
2523
run: mvn -B package --file pom.xml
2624

2725
- name: Publish to GitHub Packages Apache Maven
28-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
26+
run: mvn deploy
2927
env:
3028
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)