-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 1.15 KB
/
ios-deployment.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
name: ios-deployment
on:
push:
branches:
- 'release/*'
- 'develop'
jobs:
deploy:
runs-on: macos-latest
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
ASC_KEY_CONTENT: ${{ secrets.ASC_KEY_CONTENT }}
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
bundler-cache: true
- run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
bundle exec fastlane ios beta
elif [[ "${{ github.event_name }}" == "push" ]]; then
bundle exec fastlane ios beta public:true
fi
- uses: actions/upload-artifact@v4
with:
name: appstore ipa & dsym
path: |
${{ github.workspace }}/fastlane/builds/flo.ipa
${{ github.workspace }}/fastlane/builds/flo.app.dSYM.zip