Skip to content

Commit

Permalink
Merge pull request #5620 from m-kuhn/fix-interrepo-build
Browse files Browse the repository at this point in the history
Fix interrepo android build
  • Loading branch information
m-kuhn authored Sep 7, 2024
2 parents 85d7d18 + 75b4db9 commit 94bbd18
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

1 comment on commit 94bbd18

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.