chore(deps): update Android SDK to v7.19.0 (#2488) #392
This file contains 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: Upload to Testflight | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
paths: | |
- '.github/workflows/testflight.yml' | |
jobs: | |
upload_to_testflight: | |
name: Build and Upload to Testflight | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff # pin@v2.18.0 | |
- run: xcodes select 15.0.1 | |
- uses: ruby/setup-ruby@2a18b06812b0e15bb916e1df298d3e740422c47e # pin@v1.203.0 | |
with: | |
ruby-version: '2.7.5' | |
bundler-cache: true | |
- name: flutter | |
working-directory: ./flutter/example | |
run: | | |
flutter upgrade | |
flutter pub get | |
flutter build ios --no-codesign --obfuscate --split-debug-info=. | |
- name: Install Fastlane | |
working-directory: ./flutter/example/ios | |
run: bundle install | |
- name: Bump, Build & Upload App to TestFlight | |
working-directory: ./flutter/example/ios | |
env: | |
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | |
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} | |
APP_STORE_CONNECT_KEY: ${{ secrets.APP_STORE_CONNECT_KEY }} | |
FASTLANE_BUNDLE_VERSION: ${{ github.run_number }} | |
FASTLANE_KEYCHAIN_PASSWORD: ${{ secrets.FASTLANE_KEYCHAIN_PASSWORD }} | |
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_LOG_LEVEL: DEBUG | |
run: | | |
bundle exec fastlane bump_build_number | |
bundle exec fastlane build_release | |
bundle exec fastlane upload_testflight | |
- name: Upload Symbols to Sentry | |
working-directory: ./flutter/example | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
run: flutter packages pub run sentry_dart_plugin |