-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (57 loc) · 2.14 KB
/
uploadTestflight.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: uploadTestFlight
on:
push:
branches: [ "develop" ]
jobs:
build:
runs-on: macos-latest
steps:
# Checkout the code from the repository
- uses: actions/checkout@v2
# Setup the specific Xcode version required
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.0-beta
# Install Mise tool (make sure it's properly set up)
- name: Install Mise
run: curl https://mise.run | sh
working-directory: ./OPeace
# Install Tuist using the new installation method
- name: Install Tuist
run: curl -Ls https://install.tuist.io | bash
# Use Mise to install a specific version of Tuist
- name: Install Specific Tuist Version
run: mise install [email protected]
working-directory: ./OPeace
# Use the installed Tuist version globally
- name: Use Specific Tuist Version Globally
run: mise use -g [email protected]
# Install Fastlane using Homebrew
- name: Install Fastlane
run: brew install fastlane
working-directory: ./OPeace
# Setup Ruby environment with the specified version
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
# Execute Tuist commands: clean, install dependencies, and generate the project
# - name: Execute Tuist tasks
# run: |
# tuist clean
# tuist install
# TUIST_ROOT_DIR=${PWD} tuist generate
# working-directory: ./OPeace
# Run Fastlane with the specified environment variables for deployment
- name: Run Fastlane QA
run: fastlane QA
working-directory: ./OPeace
env:
APP_NAME: "OPeace"
SCHEME: "OPeace-QA"
TEAM_ID: ${{ secrets.TEAM_ID }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
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 }}
SLACK_URL_UPLOAD: ${{ secrets.SLACK_URL_UPLOAD }}