-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.54 KB
/
ios-deploy-beta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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.7.1'
- 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"