File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 steps :
1313 - name : Check out code
1414 uses : actions/checkout@v2
15- - name : Set up JDK 11
15+ - name : Set up JDK 17
1616 uses : actions/setup-java@v1
1717 with :
18- java-version : 11
18+ java-version : 17
1919 # Base64 decodes and pipes the GPG key content into the secret file
2020 - name : Prepare environment
2121 env :
3737 # Runs upload, and then closes & releases the repository
3838 - name : Publish Release Version to MavenCentral
3939 run : |
40- if ${{ endswith (github.event.release.tag_name, '-SNAPSHOT ') }}; then
40+ if ${{ contains (github.event.release.tag_name, '-rc ') }}; then
4141 echo "Publising Snapshot Version ${{ github.event.release.tag_name}} to Snapshot repository"
4242 ./gradlew publishToSonatype
4343 else
You can’t perform that action at this time.
0 commit comments