[Release] v1.2.2 #95
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: UploadTestflight | |
on: | |
push: | |
branches: | |
- releaseFix/** | |
pull_request: | |
branches: | |
- main | |
jobs: | |
upload_testflight: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
- name: Bring ignored files | |
uses: actions/checkout@v3 | |
with: | |
repository: Pepsi-Club/WhereMyBus-ignored | |
path: XCConfig/ | |
token: ${{ secrets.ACTION_TOKEN }} | |
- name: Move GoogleService Plist | |
run: | | |
mv XCConfig/GoogleService-Info.plist Projects/App/Resources/ | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: "15.3" | |
- name: Setup Swift Version | |
uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: "5.10" | |
- name: Install Tuist | |
run: curl -Ls https://install.tuist.io|bash | |
- name: Install Fastlane | |
run: brew install fastlane | |
- name: Tuist clean | |
run: tuist clean | |
- name: Tuist fetch | |
run: tuist fetch | |
- name: Tuist generate | |
run: tuist generate | |
- name: Fastlane Upload Testflight | |
run: fastlane tf_remote | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
APP_STORE_KEY_ID: ${{ secrets.APP_STORE_KEY_ID }} | |
APP_STORE_ISSUER_ID: ${{ secrets.APP_STORE_ISSUER_ID }} | |
APP_STORE_PRIVATE_KEY: ${{ secrets.APP_STORE_PRIVATE_KEY }} | |
MATCH_URL: ${{ secrets.MATCH_URL }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} |