fix: target을 scheme로 변경 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/tuist-action@0.13.0 | |
with: | |
command: 'clean' | |
arguments: '' | |
- name: Tuist Fetch Command | |
uses: tuist/tuist-action@0.13.0 | |
with: | |
command: 'fetch' | |
arguments: '' | |
- name: Tuist Generate Command | |
uses: tuist/tuist-action@0.13.0 | |
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" -scheme "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" -scheme "WidgetExtension" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest" | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1.2.1 | |
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 }} |