Skip to content

Commit 56c23ec

Browse files
authored
Merge pull request #216 from graphql-java/update-workflows
update workflows to use 21 and update toolchain plugin
2 parents c8c9c51 + 174d52f commit 56c23ec

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: gradle/actions/wrapper-validation@v4
20-
- name: Set up JDK 11
20+
- name: Set up JDK 21
2121
uses: actions/setup-java@v4
2222
with:
23-
java-version: '11'
24-
distribution: 'temurin'
23+
java-version: '21'
24+
distribution: 'corretto'
2525
check-latest: true
2626
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
2727
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: gradle/actions/wrapper-validation@v4
18-
- name: Set up JDK 11
18+
- name: Set up JDK 21
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: '11'
22-
distribution: 'temurin'
21+
java-version: '21'
22+
distribution: 'corretto'
2323
check-latest: true
2424
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
2525
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323
- uses: gradle/actions/wrapper-validation@v4
24-
- name: Set up JDK 11
24+
- name: Set up JDK 21
2525
uses: actions/setup-java@v4
2626
with:
27-
java-version: '11'
28-
distribution: 'temurin'
27+
java-version: '21'
28+
distribution: 'corretto'
2929
check-latest: true
3030
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
3131
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'com.gradle.develocity' version '4.1'
3-
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.9.0'
3+
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
44
}
55

66
develocity {

0 commit comments

Comments
 (0)