Skip to content

Commit

Permalink
Github actions: Remove android-33-ext5 from build image
Browse files Browse the repository at this point in the history
Github workflow image ubuntu-20.04 version 20230313.1 have added Android
SDK Platform android-33-ext5. Something, possible the gradle version
bundled with qt does not parse this correctly, and sets
androidCompileSdkVersion in android-build/gradle.properties to "ext5"
instead of expected "33". This commit is a quick fix to the problem, so
the build will revert to android-33 which was used before 20230109.1.

This fix was previously added for android-33-ext4 in image 20230109.1 in
commit 6f636e7.
  • Loading branch information
kibidev authored and patrickelectric committed Mar 16, 2023
1 parent 93ce4ea commit 742a3e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ jobs:
ndk-version: r21e
add-to-path: false

- name: Remove Android SDK android-33-ext4
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-33-ext4"
- name: Remove Android SDK android-33-ext
run: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-33-ext5"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-33-ext4"
- name: Install ccache
run: sudo apt-get install ccache
Expand Down

0 comments on commit 742a3e4

Please sign in to comment.