-
-
Notifications
You must be signed in to change notification settings - Fork 2
76 lines (60 loc) · 2.04 KB
/
app_distribution_ios.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Build & upload to Firebase IOS App Distribution
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter doctor
- run: dart pub global activate flutterfire_cli
- name: Install Dart Dependencies
run: dart pub get
- name: Melos Install
run: dart pub global activate melos
- name: Melos Bootstrap
run: melos bootstrap
- name: Navigate to iOS directory and install CocoaPods
run: |
cd app/ios
pod repo update
pod install
- name: Selecting Xcode Version
run: sudo xcode-select -switch /Applications/Xcode.app
- name: Running Xcode Version
run: /usr/bin/xcodebuild -version
- name: Update settings
run: fastlane run update_code_signing_settings use_automatic_signing:"true" path:"app/ios/Runner.xcodeproj"
- name: Install Gems
run: gem install cocoapods fastlane
- name: Build Archive
uses: yukiarrr/[email protected]
with:
project-path: app/ios/Runner.xcodeproj
workspace-path: app/ios/Runner.xcworkspace
scheme: Runner
p12-key-base64: ${{ secrets.P12_KEY_BASE64 }}
p12-cer-base64: ${{ secrets.P12_CER_BASE64 }}
mobileprovision-base64: ${{ secrets.MOBILEPROVISION_BASE64 }}
code-signing-identity: ${{ secrets.CODE_SIGNING_IDENTITY }}
certificate-password: ${{ secrets.CERTIFICATE_PASSWORD }}
team-id: ${{ secrets.TEAM_ID }}
output-path: myquran.ipa
configuration: Release
- name: Saving IPA File
uses: actions/upload-artifact@v2
with:
name: ipa
path: build/ios/ipa/*.ipa