Improve CI experience #855
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: Size Check | |
on: | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- 'docusaurus/**' | |
- 'README.md' | |
- 'CHANGELOG.md' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI | |
jobs: | |
upload--build: | |
name: Upload Build to Emerge | |
runs-on: macos-13 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_PR_NUM: ${{ github.event.number }} | |
GITHUB_COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | |
GITHUB_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
EMERGE_API_TOKEN: ${{ secrets.EMERGE_API_TOKEN }} | |
steps: | |
- name: Install Bot SSH Key | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }} | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/ruby-cache | |
- name: Run match_me | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} | |
run: bundle exec fastlane match_me | |
- name: Emerge SwiftUI Demo App | |
run: bundle exec fastlane emerge_swiftui | |
- name: Emerge UIKit Demo App | |
run: bundle exec fastlane emerge_uikit |