File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ jobs:
1313 name : Build with Java 12
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1717 with :
1818 fetch-depth : 0
1919 - name : Set up JDK 12
20- uses : actions/setup-java@v1
20+ uses : actions/setup-java@v2
2121 with :
22+ distribution : ' zulu'
2223 java-version : 12
2324 - name : Grant execute permission for gradlew
2425 run : chmod +x gradlew
@@ -29,21 +30,20 @@ jobs:
2930 needs : [java12]
3031 runs-on : ubuntu-latest
3132 steps :
32- - uses : actions/checkout@v2
33+ - uses : actions/checkout@v3
3334 with :
3435 fetch-depth : 0
35- - uses : actions/setup-java@v1
36+ - uses : actions/setup-java@v2
3637 with :
38+ distribution : ' zulu'
3739 java-version : 12
3840 - name : Grant execute permission for gradlew
3941 run : chmod +x gradlew
4042 - name : Release
41- run : ./gradlew release -Prelease.disableChecks -Prelease.pushTagsOnly -Prelease.customUsername=${{ github.actor }} -Prelease.customPassword=${{ github.token }}
43+ run : ./gradlew clean publishToSonatype closeAndReleaseSonatypeStagingRepository
4244 env :
4345 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNINGKEY }}
4446 ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.SIGNINGKEYID }}
4547 ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNINGPASSWORD }}
4648 ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.OSSRH_USERNAME }}
4749 ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.OSSRH_PASSWORD }}
48-
49-
You can’t perform that action at this time.
0 commit comments