-
Notifications
You must be signed in to change notification settings - Fork 196
41 lines (38 loc) · 963 Bytes
/
builds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build GTMAppAuth for Valid Architectures
on:
schedule:
- cron: '0 8 * * *' # Cron uses UTC; run at nightly at midnight PST
workflow_dispatch:
jobs:
cron:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-12]
steps:
- uses: actions/checkout@v3
- name: Archive for iOS
run: |
xcodebuild \
archive \
-scheme GTMAppAuth \
-destination "generic/platform=iOS"
- name: Archive for macOS
run: |
xcodebuild \
archive \
-scheme GTMAppAuth \
-destination "platform=OS X"
- name: Archive for watchOS
run: |
xcodebuild \
archive \
-scheme GTMAppAuth \
-destination "generic/platform=watchOS"
- name: Archive for tvOS
run: |
xcodebuild \
archive \
-scheme GTMAppAuth \
-destination "generic/platform=tvOS"