File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Maven Publish
2+
3+ on :
4+ pull_request :
5+ branches : ['**'] # Also on PRs to any branch
6+
7+ jobs :
8+ test-publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+
13+ - name : Assemble Resources
14+ run : ./download-libs.sh
15+
16+ - name : Set up JDK 11 and Maven settings + GPG
17+ uses : actions/setup-java@v4
18+ with :
19+ distribution : ' temurin'
20+ java-version : ' 11'
21+ server-id : central
22+ server-username : ${{ secrets.MAVEN_USERNAME }}
23+ server-password : ${{ secrets.MAVEN_PASSWORD }}
24+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
25+ gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
26+
27+ - name : Test Full Deploy (No Publishing)
28+ run : mvn -B clean deploy -Pdeploy -Drevision=1.0.0-test -DskipPublishing=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments