-
-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (38 loc) · 1.06 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
name: Build & Upload to Firebase iOS App Distribution
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build and Distribute iOS App
runs-on: macos-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Clear gem cache
run: gem install bundler && bundle cache clean
- name: Install Fastlane and Dependencies
run: |
gem install fastlane
cd app/ios/fastlane
bundle install --retry 3 --jobs 4 # Retry and use multiple jobs to speed up installation
env:
PATH: /usr/local/bin:$PATH
- name: Run Fastlane Increment Version
run: |
cd app/ios/fastlane
fastlane increment_version
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
- name: Run Fastlane Distribute
run: |
cd app/ios/fastlane
fastlane distribute
# env:
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}