From a153fd2f144220390d56efc4bbc6e9d2bb425fa1 Mon Sep 17 00:00:00 2001 From: sstone Date: Fri, 12 Jan 2024 11:42:04 +0100 Subject: [PATCH] Update github action scripts --- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 086b9f3..15fe2c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: if: matrix.os != 'windows-latest' shell: bash run: | - $ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" + ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" - name: Setup Android if: matrix.os == 'windows-latest' shell: msys2 {0} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index daf2582..301c122 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -75,7 +75,7 @@ jobs: if: matrix.os != 'windows-latest' shell: bash run: | - $ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" + ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" - name: Setup Android if: matrix.os == 'windows-latest' shell: msys2 {0} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e06cf05..d62ef20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -81,7 +81,7 @@ jobs: if: matrix.os != 'windows-latest' shell: bash run: | - $ANDROID_HOME/tools/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" + ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;$ANDROID_NDK_VERSION" - name: Setup Android if: matrix.os == 'windows-latest' shell: msys2 {0}