mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-11 19:06:56 +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:
|
with:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
|
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: 'adopt'
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/run.yml
vendored
4
.github/workflows/run.yml
vendored
@@ -35,10 +35,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./build/
|
path: ./build/
|
||||||
|
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 17
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
|
|||||||
Reference in New Issue
Block a user