Skip to content

Commit

Permalink
CI: Add step to install SDK for android version 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Nov 3, 2024
1 parent a230750 commit 31a9e72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: dotnet workload install android

- name: Install Android SDK 21
if: matrix.os == 'ubuntu-latest'
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "platforms:android-21"

- name: Publish for Android ARM64
if: matrix.os == 'ubuntu-latest'
run: dotnet publish -c Release -r android-arm64 --self-contained Refresher.AndroidApp /p:AndroidSdkDirectory=/usr/local/lib/android/sdk /p:Version=${VERSION}
Expand Down

0 comments on commit 31a9e72

Please sign in to comment.