We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f63dd commit c6abdefCopy full SHA for c6abdef
.github/workflows/maven-publish.yml
@@ -18,13 +18,11 @@ jobs:
18
uses: actions/setup-java@v1
19
with:
20
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
23
24
- name: Build with Maven
25
run: mvn -B package --file pom.xml
26
27
- name: Publish to GitHub Packages Apache Maven
28
- run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
+ run: mvn deploy
29
env:
30
GITHUB_TOKEN: ${{ github.token }}
0 commit comments