Build GSI for Valid Architectures #1356
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-latest] | |
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" |