Skip to content

Commit bce8007

Browse files
authored
Add a nightly build workflow (#171)
1 parent fce284c commit bce8007

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/builds.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build GSI for Valid Architectures
2+
3+
on:
4+
schedule:
5+
- cron: '0 8 * * *' # Cron uses UTC; run at nightly at midnight PST
6+
7+
jobs:
8+
cron:
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
os: [macos-latest, macos-10.15]
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Archive for iOS
18+
run: |
19+
xcodebuild \
20+
archive \
21+
-scheme GoogleSignIn-Package \
22+
-destination "generic/platform=iOS"
23+
- name: Archive for macOS
24+
run: |
25+
xcodebuild \
26+
archive \
27+
-scheme GoogleSignIn-Package \
28+
-destination "platform=OS X"

0 commit comments

Comments
 (0)