Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nirvn committed Sep 8, 2024
1 parent d385666 commit fc556ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}

jobs:
build:
name: build (ios)
Expand Down Expand Up @@ -42,6 +45,7 @@ jobs:
- name: ⛓️ Setup SSH
uses: webfactory/[email protected]
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
with:
ssh-private-key: ${{ secrets.SSH_KEY_DEPLOYMENT_CERTIFICATES }}

Expand All @@ -52,6 +56,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: 🔏 Setup code signing
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
run: |
Expand Down Expand Up @@ -141,6 +146,7 @@ jobs:
cmake --build /Users/runner/builddir --target bundle --config Release
- name: 🍺 Deploy
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
env:
S3_BUCKET: qfieldapks
S3_REGION: ch-dk-2
Expand All @@ -165,6 +171,7 @@ jobs:
bundle exec fastlane ios upload_testflight ipa:/Users/runner/builddir/qfieldIpa/QField.ipa
- name: 📮 Upload debug symbols
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
# if: release or labeled PR
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down

1 comment on commit fc556ff

@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.