mirror of
https://github.com/android-actions/setup-android.git
synced 2024-11-27 12:02:03 +00:00
Update JDK to 17 (from 1.8). Required for current cmdline-tools
This commit is contained in:
parent
bc52f43eb3
commit
26c86ac3f5
2 changed files with 8 additions and 2 deletions
6
.github/workflows/build-test.yml
vendored
6
.github/workflows/build-test.yml
vendored
|
@ -72,6 +72,12 @@ jobs:
|
|||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: 'adopt'
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
|
|
4
.github/workflows/run.yml
vendored
4
.github/workflows/run.yml
vendored
|
@ -35,10 +35,10 @@ jobs:
|
|||
with:
|
||||
path: ./build/
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 1.8
|
||||
java-version: 17
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Setup Android SDK
|
||||
|
|
Loading…
Reference in a new issue