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 5c45552 commit 594ca12Copy full SHA for 594ca12
.github/workflows/maven-deploy-release.yml
@@ -0,0 +1,20 @@
1
+name: Maven Deploy
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up JDK 1.8
11
+ uses: actions/setup-java@v1
12
+ with:
13
+ java-version: 1.8
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 -Dversion ${{ github.event.release.tag_name }}
18
+ env:
19
+ DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
20
+ DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}
0 commit comments