Config gha to use java 21 for build

This commit is contained in:
Ben Woo 2024-10-14 14:23:45 +08:00
parent 38aa534cf5
commit 061b90ce90
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ jobs:
- uses: actions/setup-java@v3 - uses: actions/setup-java@v3
with: with:
java-version: '11' java-version: '21'
distribution: 'adopt' distribution: 'adopt'
cache: gradle cache: gradle

View File

@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-java@v3 - uses: actions/setup-java@v3
with: with:
java-version: '17' java-version: '21'
distribution: 'adopt' distribution: 'adopt'
cache: gradle cache: gradle