-
Notifications
You must be signed in to change notification settings - Fork 5
56 lines (49 loc) · 1.78 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
53
54
55
56
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:
command: 'clean'
arguments: ''
- name: Tuist Fetch Command
uses: tuist/[email protected]
with:
command: 'fetch'
arguments: ''
- name: Tuist Generate Command
uses: tuist/[email protected]
with:
command: 'generate'
arguments: ''
- name: bibbi app scheme output # Bibbi App Scheme Output Code
run: xcodebuild -list -workspace "Bibbi.xcworkspace"
- name: xcode build App 🛠️ # Bibbi App Build
run: xcodebuild clean build -workspace "Bibbi.xcworkspace" -target "App" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest"
- name: xcode build WidgetExtension 🛠️ # Bibbi Widget Build
run: xcodebuild clean build -workspace "Bibbi.xcworkspace" -target "WidgetExtension" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest"
- 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 }}