chore: Fix new user script sandboxing breaking the builds, as its sto… #97
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: CI/CD | |
on: | |
push: | |
branches: | |
- main | |
- staging | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build & Release | |
runs-on: macos-15 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- name: Fastlane Build - Beta | |
if: github.ref == 'refs/heads/staging' | |
uses: maierj/[email protected] | |
with: | |
lane: 'beta' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Fastlane Build - Production | |
if: github.ref == 'refs/heads/main' | |
uses: maierj/[email protected] | |
with: | |
lane: 'production' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |