Skip to content

Commit

Permalink
Fix interrepo android build
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 7, 2024
1 parent 85d7d18 commit 75b4db9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
qt_arch: 'android_x86'
all_files_access: 'ON'
artifact_name: 'android-x86'
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

steps:
- name: 🐣 Checkout
Expand Down Expand Up @@ -209,9 +211,8 @@ jobs:

- name: 📮 Upload debug symbols
# if: release or labeled PR
if: ${{ matrix.all_files_access == 'OFF' }}
if: ${{ matrix.all_files_access == 'OFF' && env.SENTRY_AUTH_TOKEN != '' }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG_SLUG: opengisch
SENTRY_PROJECT_SLUG: qfield
run: |
Expand Down
6 changes: 3 additions & 3 deletions platform/android/CPackAndroidDeployQt.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if(DEFINED ENV{KEYNAME}
AND DEFINED ENV{KEYPASS}
AND DEFINED ENV{STOREPASS})
if(NOT "$ENV{KEYNAME}" STREQUAL ""
AND NOT "$ENV{KEYPASS}" STREQUAL ""
AND NOT "$ENV{STOREPASS}" STREQUAL "")
execute_process(
COMMAND
"@ANDROIDDEPLOYQT_EXECUTABLE@"
Expand Down

0 comments on commit 75b4db9

Please sign in to comment.