From a190f2664300da6f8c4d91894285bda1403d8235 Mon Sep 17 00:00:00 2001 From: Matthew Mathias Date: Mon, 13 Jun 2022 17:04:59 -0700 Subject: [PATCH] Add a nightly build workflow --- .github/workflows/builds.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/builds.yml diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml new file mode 100644 index 00000000..2b719852 --- /dev/null +++ b/.github/workflows/builds.yml @@ -0,0 +1,28 @@ +name: Build GSI for Valid Architectures + +on: + 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, macos-10.15] + + steps: + - uses: actions/checkout@v2 + - 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"