bump pod #247
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: Build, Test, and Release to Testflight | |
on: | |
push: | |
branches: [master] | |
jobs: | |
release: | |
name: Fastlane Beta Release To Testflight | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
name: id_rsa # optional | |
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} | |
- name: Force Xcode Version | |
run: sudo xcode-select -switch /Applications/Xcode_14.3.1.app | |
- name: Swift Package Manager Cache | |
id: spm-cache | |
uses: actions/cache@v3 | |
with: | |
path: .build | |
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-spm- | |
- name: Pods Cache | |
uses: actions/cache@v3 | |
id: pods-cache | |
with: | |
path: Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Install Dependencies | |
if: steps.pods-cache.outputs.cache-hit != 'true' | |
run: | | |
pod install | |
#- name: Test | |
#run: fastlane tests | |
- name: Build and Send to Testflight | |
run: fastlane beta | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY }} | |
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
- name: Setup tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 15 |