Skip to content

Commit 3faa46b

Browse files
Copilotandimarek
andcommitted
Update CI workflows to use JDK 17 for Gradle 9.0
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
1 parent c013f0c commit 3faa46b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v5
1919
- uses: gradle/actions/wrapper-validation@v5
20-
- name: Set up JDK 11
20+
- name: Set up JDK 17
2121
uses: actions/setup-java@v5
2222
with:
23-
java-version: '11'
23+
java-version: '17'
2424
distribution: 'corretto'
2525
- name: build test and publish
2626
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818
- uses: gradle/actions/wrapper-validation@v5
19-
- name: Set up JDK 11
19+
- name: Set up JDK 17
2020
uses: actions/setup-java@v5
2121
with:
22-
java-version: '11'
22+
java-version: '17'
2323
distribution: 'corretto'
2424
- name: build and test
2525
run: ./gradlew assemble && ./gradlew check --info --stacktrace

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v5
2323
- uses: gradle/actions/wrapper-validation@v5
24-
- name: Set up JDK 11
24+
- name: Set up JDK 17
2525
uses: actions/setup-java@v5
2626
with:
27-
java-version: '11'
27+
java-version: '17'
2828
distribution: 'corretto'
2929
- name: build test and publish
3030
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace

0 commit comments

Comments
 (0)