Skip to content

Commit

Permalink
Setup Android SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 committed Jan 16, 2025
1 parent f057e7b commit d20bbeb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Android SDK
if: matrix.os == 'ubuntu-24.04-arm'
shell: bash
run: |
mkdir -p ~/android/cmdline-tools
echo 'ANDROID_HOME=~/android' >> "$GITHUB_ENV"
curl -OL https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
unzip commandlinetools-linux-11076708_latest.zip -d ~/android/cmdline-tools
rm commandlinetools-linux-11076708_latest.zip
mv ~/android/cmdline-tools/cmdline-tools ~/android/cmdline-tools/latest
yes | ~/android/cmdline-tools/latest/bin/sdkmanager --licenses || true
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
Expand Down

0 comments on commit d20bbeb

Please sign in to comment.