Skip to content

Commit

Permalink
chore: Update Android SDK installation process in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soy0ka committed Jul 16, 2024
1 parent fbce35d commit d31c1cc
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,6 @@ jobs:
distribution: 'adopt'
java-version: '11'

- name: Download and setup Android SDK
run: |
sudo apt-get update
sudo apt-get install -y wget tar unzip
wget "https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip" -O commandlinetools.zip
mkdir -p $HOME/android-sdk/cmdline-tools
unzip commandlinetools.zip -d $HOME/android-sdk/cmdline-tools
mv $HOME/android-sdk/cmdline-tools/cmdline-tools $HOME/android-sdk/cmdline-tools/tools
echo 'ANDROID_SDK_ROOT=$HOME/android-sdk' >> $GITHUB_ENV
echo 'PATH=$PATH:$HOME/android-sdk/cmdline-tools/tools/bin' >> $GITHUB_ENV
echo 'PATH=$PATH:$HOME/android-sdk/platform-tools' >> $GITHUB_ENV
source $GITHUB_ENV
- name: Install Android SDK packages
run: |
yes | sdkmanager --licenses
sdkmanager "platform-tools" "platforms;android-30" "build-tools;30.0.3"
- name: Create eas.json
run: |
echo '{
Expand Down

0 comments on commit d31c1cc

Please sign in to comment.