github Action subcommand 파라메터 변경 #11
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/[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: 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 }} |