Build GSI for Valid Architectures #716
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 GSI for Valid Architectures | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * *' # Cron uses UTC; run at nightly at midnight PST | |
jobs: | |
cron: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-11, macos-12] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Archive for iOS | |
run: | | |
xcodebuild \ | |
archive \ | |
-scheme GoogleSignIn-Package \ | |
-destination "generic/platform=iOS" | |
- name: Archive for macOS | |
run: | | |
xcodebuild \ | |
archive \ | |
-scheme GoogleSignIn-Package \ | |
-destination "platform=OS X" |