Skip to content

Update swift.yml

Update swift.yml #11

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: TesfFlight
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
upload_testflight:

Check failure on line 13 in .github/workflows/swift.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/swift.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
# match 사용시 ssh-key 설정
# - uses: shimataro/ssh-key-action@v2
# with:
# key: ${{ secrets.SSH_KEY }}
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
# Config 등 파일 가져와야 할 시 사용
# - name: Bring ignored files
# uses: actions/checkout@v3
# with:
# repository: Jumak-ignored
# path: JumakS/Sources/Config
# token: ${{ secrets.ACTION_TOKEN }}
- name: Install Fastlane
run: brew install fastlane
- name: Set Keychain
run: fastlane set_keychain
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
- name: Change to Project Directory
run: cd ../
- run: fastlane tf
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7