We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82fa6f3 commit fb51fe9Copy full SHA for fb51fe9
.github/workflows/maven-deploy-release.yml
@@ -1,4 +1,4 @@
1
-name: Maven Deploy
+name: Maven Release Deploy
2
on:
3
release:
4
types: [published]
@@ -14,7 +14,7 @@ jobs:
14
- name: Build
15
run: mvn -B package --file pom.xml
16
- name: Deploy to JavaWebStack Repository
17
- run: mvn deploy -s build/settings.xml DnewVersion=${{ github.event.release.tag_name }}
+ run: mvn deploy -DnewVersion=${{ github.event.release.tag_name }} -s build/settings.xml
18
env:
19
DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
20
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}
0 commit comments