Skip to content

Commit

Permalink
Update build-android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha authored Jan 15, 2024
1 parent 683de75 commit 510b211
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
run: |
wget https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip
unzip commandlinetools-linux-6609375_latest.zip -d $HOME/android-sdk
mkdir -p $HOME/android-sdk/cmdline-tools
mv $HOME/android-sdk/cmdline-tools/* $HOME/android-sdk/cmdline-tools/latest
mkdir -p $HOME/android-sdk/cmdline-tools/latest
mv $HOME/android-sdk/cmdline-tools/bin $HOME/android-sdk/cmdline-tools/latest/
mv $HOME/android-sdk/cmdline-tools/lib $HOME/android-sdk/cmdline-tools/latest/
echo "ANDROID_HOME=$HOME/android-sdk" >> $GITHUB_ENV
echo "$HOME/android-sdk/cmdline-tools/latest/bin" >> $GITHUB_PATH
yes | $HOME/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses
Expand Down

0 comments on commit 510b211

Please sign in to comment.