Skip to content

Commit

Permalink
try to use action
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Feb 19, 2025
1 parent 1a9bec4 commit 8b2e6b1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/actions/install-android-dep/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,7 @@ runs:
java-version: 17

- name: Setup Android SDK
shell: bash
run: |
mkdir -p /opt/android-sdk
export ANDROID_SDK_ROOT=/opt/android-sdk
echo "ANDROID_SDK_ROOT=/opt/android-sdk" >> $GITHUB_ENV
wget https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip
unzip commandlinetools-linux-9477386_latest.zip -d $ANDROID_SDK_ROOT
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools/latest
mv $ANDROID_SDK_ROOT/cmdline-tools/* $ANDROID_SDK_ROOT/cmdline-tools/latest/ || true
rm -rf $ANDROID_SDK_ROOT/cmdline-tools/latest/cmdline-tools
yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses
uses: android-actions/setup-android@v3

- name: Install NDK
shell: bash
Expand Down

0 comments on commit 8b2e6b1

Please sign in to comment.