Skip to content

Commit 9ed75a4

Browse files
committed
Update github action scripts
1 parent 2e81cad commit 9ed75a4

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

.github/workflows/release.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,11 @@ jobs:
5858
base-devel
5959
autotools
6060
mingw-w64-x86_64-gcc
61-
- name: Set up JDK 8
62-
uses: actions/setup-java@v1
63-
with:
64-
java-version: 8
6561
- name: Setup Android
6662
if: matrix.os != 'windows-latest'
6763
shell: bash
6864
run: |
69-
$ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
65+
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
7066
- name: Setup Android
7167
if: matrix.os == 'windows-latest'
7268
shell: msys2 {0}

.github/workflows/snapshot.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,11 @@ jobs:
6767
base-devel
6868
autotools
6969
mingw-w64-x86_64-gcc
70-
- name: Set up JDK 8
71-
uses: actions/setup-java@v1
72-
with:
73-
java-version: 8
7470
- name: Setup Android
7571
if: matrix.os != 'windows-latest'
7672
shell: bash
7773
run: |
78-
$ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
74+
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
7975
- name: Setup Android
8076
if: matrix.os == 'windows-latest'
8177
shell: msys2 {0}

.github/workflows/test.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,11 @@ jobs:
7373
base-devel
7474
autotools
7575
mingw-w64-x86_64-gcc
76-
- name: Set up JDK 8
77-
uses: actions/setup-java@v1
78-
with:
79-
java-version: 8
8076
- name: Setup Android
8177
if: matrix.os != 'windows-latest'
8278
shell: bash
8379
run: |
84-
$ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
80+
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION"
8581
- name: Setup Android
8682
if: matrix.os == 'windows-latest'
8783
shell: msys2 {0}

0 commit comments

Comments
 (0)