Create snapshot variants #197
Workflow file for this run
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: Emerge PR iOS Upload (Snapshots) | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths: [ios/**] | |
jobs: | |
build: | |
runs-on: macos-13 | |
defaults: | |
run: | |
working-directory: ./ios | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' | |
- name: Set up Ruby env | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1.4 | |
bundler-cache: true | |
- name: Setup gems | |
run: exec ../.github/scripts/ios/setup.sh | |
- name: Build & upload iOS snapshot binary to Emerge Tools | |
run: bundle exec fastlane ios build_upload_emerge_snapshot | |
env: | |
EMERGE_API_TOKEN: ${{ secrets.EMERGE_API_KEY }} |