Skip to content

Commit

Permalink
Use Java 19 on CI. (#1485)
Browse files Browse the repository at this point in the history
* Use Java 19 on CI.

* Use a variable.

* Attempt to fix syntax.
  • Loading branch information
colinrtwhite committed Sep 30, 2022
1 parent 00571d4 commit 05da2d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -5,8 +5,8 @@ on:
- main
pull_request:
env:
# Increment this to manually invalidate the cache.
CACHE_VERSION: 1
CACHE_VERSION: 1 # Increment this to invalidate the cache.
JAVA_VERSION: 19
jobs:
checks:
name: Checks
Expand All @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: ${{ env.JAVA_VERSION }}
- run: ./ci_clear_gradle_cache.sh
- uses: actions/cache@v3
with:
Expand Down

0 comments on commit 05da2d2

Please sign in to comment.