-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (45 loc) · 1.42 KB
/
swift.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
name: Bibbi
on:
push:
branches:
- develop
- feature/*
tags:
- "v*"
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Tuist Clean Command
uses: tuist/[email protected]
with:
subcommand: 'clean'
arguments: ''
- name: Tuist Fetch Command
uses: tuist/[email protected]
with:
subcommand: 'fetch'
arguments: ''
- name: Tuist Generate Command
uses: tuist/[email protected]
with:
subcommand: 'generate'
arguments: ''
- name: xcode build 🛠️
run: xcodebuild clean build -workspace "Bibbi.xcworkspace" -scheme "App" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest" -enabledCodeCoverage YES build test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
deploy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: fastlane deploy start
run: echo "fastlane deploy start"
env:
APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
APP_STORE_CONNECT_API_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_KEY_CONTENT }}