File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed
Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ jobs:
2828 runs-on : ubuntu-latest
2929 steps :
3030 - uses : actions/checkout@v4
31- - name : Set up JDK 1.8
32- uses : actions/setup-java@v3
31+ - name : Set up JDK 21
32+ uses : actions/setup-java@v4
3333 with :
3434 distribution : temurin
35- java-version : 8
35+ java-version : 21
3636 - name : Test
3737 run : ./gradlew test
3838 - name : Publish
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
1313
14- - name : Set up JDK 1.8
15- uses : actions/setup-java@v3
14+ - name : Set up JDK 21
15+ uses : actions/setup-java@v4
1616 with :
1717 distribution : temurin
18- java-version : 8
18+ java-version : 21
1919
2020 - name : Compile
2121 run : ./gradlew compileJava compileTestJava
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 - name : Install launchable CLI
2121 run : |
2222 pip install launchable
23- - name : Set up JDK 1.8
23+ - name : Set up JDK 21
2424 uses : actions/setup-java@v4
2525 with :
2626 distribution : temurin
27- java-version : 8
27+ java-version : 21
2828 - name : Record commits and build
2929 run : ' launchable record build --name "$GITHUB_RUN_ID" --source .'
3030 - name : Test
Original file line number Diff line number Diff line change 11plugins {
2- id " com.vanniktech.maven.publish" version " 0.22 .0"
2+ id " com.vanniktech.maven.publish" version " 0.34 .0"
33}
44
5- import com.vanniktech.maven.publish.SonatypeHost
6-
75allprojects {
86 plugins. withId(" com.vanniktech.maven.publish" ) {
97 mavenPublishing {
10- // Want to publish to so1.oss.sonatype.org
11- publishToMavenCentral(SonatypeHost . S01 , true )
8+ // Publish to Central Portal (new Maven Central publishing system)
9+ publishToMavenCentral()
1210 signAllPublications()
1311 }
1412 }
You can’t perform that action at this time.
0 commit comments