-
Notifications
You must be signed in to change notification settings - Fork 2
68 lines (61 loc) · 2.61 KB
/
cd_rts_viewer_tvos.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: RTS Viewer Build and Distribution
on:
push:
branches:
- 'main'
paths:
- 'rts-viewer-tvos/**'
tags:
- '*'
workflow_dispatch:
jobs:
Build-And-Deploy-TVOS-App-To-Appstore:
runs-on: macos-13
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
- name: Build App and Upload to Appstore
env:
TEMP_KEYCHAIN_NAME: ${{ secrets.TVOS_TEMP_KEYCHAIN_NAME_APPSTORE }}
TEMP_KEYCHAIN_PASSWORD: ${{ secrets.TVOS_TEMP_KEYCHAIN_PASSWORD_APPSTORE }}
CERTIFICATE_BASE64: ${{ secrets.TVOS_CERTIFICATE_BASE64_APPSTORE }}
P12_PASSWORD: ${{ secrets.TVOS_P12_PASSWORD_APPSTORE }}
PROVISIONING_PROFILE_BASE64: ${{ secrets.TVOS_PROVISIONING_PROFILE_BASE64_APPSTORE }}
EXPORT_OPTIONS_PLIST_BASE64: ${{ secrets.TVOS_EXPORT_OPTIONS_PLIST_BASE64_APPSTORE }}
APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }}
APPSTORE_CONNECT_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_ISSUER_ID }}
APPSTORE_CONNECT_KEY_CONTENT: ${{ secrets.APPSTORE_CONNECT_KEY_CONTENT }}
run: |
cd rts-viewer-tvos
gem install bundler
bundle install
bundle exec fastlane build_and_deploy_to_appstore --env tvos-appstore build_number:$GITHUB_RUN_NUMBER
Build-And-Deploy-iOS-App-To-Appstore:
runs-on: macos-13
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
- name: Build App and Upload to Appstore
env:
TEMP_KEYCHAIN_NAME: ${{ secrets.IOS_TEMP_KEYCHAIN_NAME_APPSTORE }}
TEMP_KEYCHAIN_PASSWORD: ${{ secrets.IOS_TEMP_KEYCHAIN_PASSWORD_APPSTORE }}
CERTIFICATE_BASE64: ${{ secrets.IOS_CERTIFICATE_BASE64_APPSTORE }}
P12_PASSWORD: ${{ secrets.IOS_P12_PASSWORD_APPSTORE }}
PROVISIONING_PROFILE_BASE64: ${{ secrets.IOS_PROVISIONING_PROFILE_BASE64_APPSTORE }}
EXPORT_OPTIONS_PLIST_BASE64: ${{ secrets.IOS_EXPORT_OPTIONS_PLIST_BASE64_APPSTORE }}
APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }}
APPSTORE_CONNECT_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_ISSUER_ID }}
APPSTORE_CONNECT_KEY_CONTENT: ${{ secrets.APPSTORE_CONNECT_KEY_CONTENT }}
run: |
cd rts-viewer-ios
gem install bundler
bundle install
bundle exec fastlane build_and_deploy_to_appstore --env ios-appstore build_number:$GITHUB_RUN_NUMBER