Skip to content

Commit ca10592

Browse files
authored
Merge pull request #306 from gradle/gk/updateGhaJdk21
Updated JDK to 21 for Github Actions
2 parents a23563e + 48420b4 commit ca10592

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build-verification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
run: |
1818
git config --global user.name "bot-githubaction"
1919
git config --global user.email "[email protected]"
20-
- name: Set up JDK 17
20+
- name: Set up JDK 21
2121
uses: actions/setup-java@v4
2222
with:
23-
java-version: '17'
23+
java-version: '21'
2424
distribution: 'temurin'
2525
- name: Set up Gradle
2626
uses: gradle/actions/setup-gradle@v4

.github/workflows/submit-github-dependency-graph.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-java@v4
1717
with:
1818
distribution: temurin
19-
java-version: 17
19+
java-version: 21
2020
- name: Set up Gradle
2121
uses: gradle/actions/setup-gradle@v4
2222
with:

.github/workflows/wrapper-upgrade-execution.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
git_config_global: true
2525
- name: Checkout
2626
uses: actions/checkout@v4
27-
- name: Set up JDK 17
27+
- name: Set up JDK 21
2828
uses: actions/setup-java@v4
2929
with:
30-
java-version: '17'
30+
java-version: '21'
3131
distribution: 'temurin'
3232
- name: Set up Gradle
3333
uses: gradle/actions/setup-gradle@v4

0 commit comments

Comments
 (0)