mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-11 10:58:20 +00:00
Update JDK to 17 (from 1.8). Required for current cmdline-tools
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user