Skip to content

Commit

Permalink
Update CI to JDK 21 (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Nov 3, 2023
1 parent d300d58 commit 585c19f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand All @@ -57,7 +57,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand All @@ -83,7 +83,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21
- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
timeout-minutes: 5
Expand All @@ -100,7 +100,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand All @@ -125,7 +125,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand All @@ -144,7 +144,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2
# Don't spend more than 5m rehydrating the cache. Otherwise just move on.
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- uses: gradle/gradle-build-action@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 20
java-version: 21

- name: Build and publish artifacts
env:
Expand Down

0 comments on commit 585c19f

Please sign in to comment.