File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ push :
4+ tags :
5+ - " v0.*"
6+ jobs :
7+ publish :
8+ environment :
9+ name : maven-central
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : true
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Set up OpenJDK 8
16+ uses : actions/setup-java@v3
17+ with :
18+ java-version : 8
19+ distribution : " temurin"
20+ cache : " gradle"
21+ - name : Publish
22+ run : ./gradlew --stacktrace publishMavenPublicationToMavenCentralRepository
23+ env :
24+ ORG_GRADLE_PROJECT_ossrhUsername : ${{ vars.OSSRH_USERNAME }}
25+ ORG_GRADLE_PROJECT_ossrhPassword : ${{ secrets.OSSRH_PASSWORD }}
26+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.GPG_PRIVATE_KEY_ARMOR }}
27+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments