fix: ruby versions 다운그레이드 #63
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/* | |
- fix/* | |
tags: | |
- "v*" | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
xcodebuild-scheme: ['App'] | |
steps: | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Bring Bibbi ignored file with Config | |
uses: actions/checkout@v3 | |
with: | |
repository: depromeet/14th-team5-iOS-ignored | |
path: depromeet/14th-team5-iOS/14th-team5-iOS/XCConfig | |
token: ${{secrets.ACTION_TOKEN}} | |
- name: Biring Bibbi ignored file with MasterKey | |
uses: actions/checkout@v3 | |
with: | |
repository: depromeet/14th-team5-iOS-ignored | |
path: Tuist | |
token: ${{secrets.ACTION_TOKEN}} | |
- name: Tuist Manster Key Check Log | |
run: | | |
echo "MASTER_KEY" : ${{ secrets.MASTER_KEY}} | |
- name: Setting Tuist Master Key | |
run: | | |
echo "$MASTER_KEY" > Tuist/master.key | |
- name: Install Tuist CLI | |
run: curl -Ls https://install.tuist.io | bash | |
- name: Install FastLane | |
run: brew install fastlane | |
- uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Tuist Clean Command | |
run: tuist clean | |
- name: Tuist Fetch Command | |
run: tuist fetch | |
- name: Tuist Siging Decrept | |
run: tuist signing decrypt | |
- name: Tuist Keychain Log | |
run: | | |
echo "KEYCHAIN_NAME: ${{secrets.KEYCHAIN_NAME}} | |
echo "KEYCHAIN_PASSWORD: ${{secrets.KEYCHAIN_PASSWORD}} | |
- name: Fastalne setup Keychina | |
run: fastlane setup_keychain | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
# - name: Tuist generate Command | |
# run: tuist generate | |
- name: Tuist Build Command | |
run: tuist build | |
- run: fastlane upload_dev_to_testfligh | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
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 }} | |
# - 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 "${{ matrix.xcodebuild-scheme }}" -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 }} | |