version v1.1.73+354 #340
Workflow file for this run
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: Appstore Deployment | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
deploy_ios: | |
name: Deploy build to TestFlight | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout code from ref | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- run: pwd; echo $P8_KEY | base64 -d > ios/AuthKey_CTJDHGWL48.p8 | |
env: | |
P8_KEY: ${{ secrets.P8_KEY }} | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
working-directory: 'ios' | |
- uses: maierj/[email protected] | |
with: | |
lane: 'install_certificates' | |
subdirectory: 'ios' | |
env: | |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: "odnv-ruvg-mzoo-enld" | |
MATCH_PASSWORD: "nutmeg" | |
GIT_AUTH_TOKEN: ${{ secrets.GIT_AUTH_TOKEN }} | |
KEY_ID: "CTJDHGWL48" | |
- name: Run Flutter tasks | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.13.9' | |
- run: flutter clean | |
- run: flutter pub get | |
- run: flutter build ipa --release -t lib/screens/Launch.dart --export-options-plist ios/export.plist | |
- run: "ls -l /Users/runner/work/nutmeg-flutter/nutmeg-flutter/build/ios/ipa" | |
- uses: maierj/[email protected] | |
with: | |
lane: 'closed_beta' | |
subdirectory: 'ios' | |
env: | |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: "odnv-ruvg-mzoo-enld" | |
MATCH_PASSWORD: "nutmeg" | |
GIT_AUTH_TOKEN: ${{ secrets.GIT_AUTH_TOKEN }} | |
KEY_ID: "CTJDHGWL48" |