Add sentry dsym token to env on CI #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: iOS | |
| on: | |
| push: | |
| branches: [ develop ] | |
| pull_request: | |
| branches: [ develop ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build iOS App | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Mise (Ruby + Tuist + SwiftLint) | |
| uses: jdx/mise-action@v3 | |
| - name: Cache gems | |
| uses: actions/cache@v4 | |
| with: | |
| path: vendor/cache | |
| key: ${{ runner.os }}-mise-gems-${{ hashFiles('Gemfile.lock') }} | |
| - name: Install Fastlane with cache | |
| run: | | |
| bundle cache | |
| - name: Set Xcode 26.0.1 | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode_26.0.1.app | |
| - name: Cache Tuist .build | |
| uses: actions/cache@v4 | |
| with: | |
| path: Tuist/.build | |
| key: tuist-cache-${{ hashFiles('Tuist/Package.resolved') }} | |
| restore-keys: | | |
| tuist-cache- | |
| - name: Run Fastlane Install | |
| run: | | |
| tuist install | |
| bundle exec fastlane upload_dsym_to_sentry | |
| bundle exec fastlane notify_all | |
| env: | |
| FASTLANE_USER: ${{ secrets.FASTLANE_USER }} | |
| FASTLANE_TEAM_ID: ${{ secrets.FASTLANE_TEAM_ID }} | |
| MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
| MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} | |
| TUIST_CONFIG_TOKEN: ${{ secrets.TUIST_CONFIG_TOKEN }} | |
| SENTRY_DSYM_TOKEN: ${{ secrets.SENTRY_DSYM_TOKEN }} | |
| TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }} | |
| TG_CHAT_ID: ${{ secrets.TG_CHAT_ID }} |