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:
12
12
steps :
13
13
- name : Check out code
14
14
uses : actions/checkout@v2
15
- - name : Set up JDK 11
15
+ - name : Set up JDK 17
16
16
uses : actions/setup-java@v1
17
17
with :
18
- java-version : 11
18
+ java-version : 17
19
19
# Base64 decodes and pipes the GPG key content into the secret file
20
20
- name : Prepare environment
21
21
env :
37
37
# Runs upload, and then closes & releases the repository
38
38
- name : Publish Release Version to MavenCentral
39
39
run : |
40
- if ${{ endswith (github.event.release.tag_name, '-SNAPSHOT ') }}; then
40
+ if ${{ contains (github.event.release.tag_name, '-rc ') }}; then
41
41
echo "Publising Snapshot Version ${{ github.event.release.tag_name}} to Snapshot repository"
42
42
./gradlew publishToSonatype
43
43
else
You can’t perform that action at this time.
0 commit comments