File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and deploy snapshot
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ - name : Set up JDK 11
14+ uses : actions/setup-java@v3
15+ with :
16+ java-version : 11
17+ distribution : temurin
18+ cache : maven
19+ server-id : ossrh
20+ server-username : OSS_SONATYPE_USERNAME
21+ server-password : OSS_SONATYPE_PASSWORD
22+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
23+ gpg-passphrase : GPG_PASSPHRASE
24+ - name : Build with Maven
25+ run : mvn -B -Drelease verify deploy
26+ env :
27+ OSS_SONATYPE_USERNAME : ${{ secrets.OSS_SONATYPE_USERNAME }}
28+ OSS_SONATYPE_PASSWORD : ${{ secrets.OSS_SONATYPE_PASSWORD }}
29+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments