File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,19 +11,20 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 strategy :
14+ fail-fast : false
1415 matrix :
1516 distribution : [ 'zulu' ]
16- java : [ '25' ]
17+ java : [ '25', '26' ]
1718
1819 steps :
19- - uses : actions/checkout@v5
20+ - uses : actions/checkout@v7
2021 - name : Use JDK ${{ matrix.java }}
2122 uses : actions/setup-java@v5
2223 with :
2324 distribution : ${{ matrix.distribution }}
2425 java-version : ${{ matrix.java }}
2526 - name : Build with Gradle
26- run : ./gradlew build
27+ run : ./gradlew build -PjavaToolchainVersion=${{ matrix.java }}
2728 env :
2829 GH_PACKAGES_READ_TOKEN : ${{ secrets.GH_PACKAGES_READ_TOKEN }}
2930 GH_PACKAGES_WRITE_TOKEN : ${{ secrets.GH_PACKAGES_WRITE_TOKEN }}
Original file line number Diff line number Diff line change 1919
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v5
22+ uses : actions/checkout@v7
2323 with :
2424 fetch-depth : 0
2525
3030 distribution : ' zulu'
3131
3232 - name : Cache Gradle
33- uses : actions/cache@v4
33+ uses : actions/cache@v6
3434 with :
3535 path : ~/.gradle/caches
3636 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Original file line number Diff line number Diff line change @@ -20,18 +20,18 @@ jobs:
2020
2121 steps :
2222 - name : Checkout
23- uses : actions/checkout@v5
23+ uses : actions/checkout@v7
2424 with :
2525 fetch-depth : 0
2626
2727 - name : Setup Java
2828 uses : actions/setup-java@v5
2929 with :
30- java-version : ' 21 '
30+ java-version : ' 25 '
3131 distribution : ' temurin'
3232
3333 - name : Setup Gradle
34- uses : gradle/actions/setup-gradle@v4
34+ uses : gradle/actions/setup-gradle@v6
3535
3636 - name : Test JReleaser Config
3737 if : ${{ github.event.inputs.test_type == 'config' || github.event.inputs.test_type == 'both' }}
Original file line number Diff line number Diff line change 2424 withSourcesJar()
2525
2626 toolchain {
27- languageVersion = JavaLanguageVersion . of(25 )
27+ languageVersion = JavaLanguageVersion . of(
28+ (project. findProperty(' javaToolchainVersion' ) ?: ' 25' ) as String )
2829 }
2930}
3031
You can’t perform that action at this time.
0 commit comments