Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jan 23, 2024
1 parent acce33f commit 765b652
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,12 @@ jobs:
java-version: 17
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- run: |
echo "NDK_VERSION=25.2.9519653" >> $GITHUB_ENV
- name: Setup Android SDK packages
uses: maxim-lobanov/setup-android-tools@v1
with:
packages: |
build-tools;${{ env.SDK_BUILD_TOOLS_VERSION }}
cmdline-tools;${{ env.SDK_CMDLINE_TOOLS_VERSION }}
ndk;${{ env.NDK_VERSION }}
platforms;android-21
cache: true
- name: Set Up Android tools
run: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "build-tools;${{ env.SDK_CMDLINE_TOOLS_VERSION }}"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "cmdline-tools;${{ env.SDK_CMDLINE_TOOLS_VERSION }}"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "ndk;${{ env.NDK_VERSION }}"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "platforms;android-21"
- name: Config Android NDK
run: |
echo "$ANDROID_SDK_ROOT/ndk/$NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit 765b652

Please sign in to comment.