forked from razeware/emitron-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.51 KB
/
appstore-upload.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
name: Push to Testflight
on:
release:
types:
- published
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v1
- name: Switch to Xcode 14.0.1
run: sudo xcode-select -s /Applications/Xcode_14.0.1.app
- name: Update fastlane
run: |
cd Emitron
bundle install
bundle exec fastlane -v
- name: Download secrets
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
scripts/download_s3.sh development > Emitron/Emitron/Configuration/secrets.development.xcconfig
scripts/download_s3.sh beta > Emitron/Emitron/Configuration/secrets.beta.xcconfig
scripts/download_s3.sh production > Emitron/Emitron/Configuration/secrets.production.xcconfig
- name: Execute fastlane
env:
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
SLACK_URL: ${{ secrets.SLACK_URL }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 5
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 5
run: |
cd Emitron
bundle exec fastlane -v
bundle exec fastlane ci_upload_release_appstore