Skip to content

Commit

Permalink
CI: Add Android 21 build tools to SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Nov 3, 2024
1 parent 19c999a commit 556954c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ jobs:

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

- 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}
run: dotnet publish -c Release -r android-arm64 --self-contained Refresher.AndroidApp /p:AndroidSdkDirectory=${ANDROID_SDK_ROOT} /p:Version=${VERSION}

- name: Create macOS universal2 binary
if: matrix.os == 'macos-latest'
Expand Down

0 comments on commit 556954c

Please sign in to comment.