-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (23 loc) · 903 Bytes
/
actions.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
name: TextFieldAlert
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-iOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build Package
run: xcrun xcodebuild build -scheme 'TextFieldAlert' -destination 'generic/platform=ios'
- name: Build Example
run: xcrun xcodebuild build -project 'Example/TextFieldAlertExample.xcodeproj' -scheme 'TextFieldAlertExample' -destination 'generic/platform=iOS Simulator'
build-tvOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build Package
run: xcrun xcodebuild build -scheme 'TextFieldAlert' -destination 'generic/platform=tvos'
- name: Build Example
run: xcrun xcodebuild build -project 'Example/TextFieldAlertExample.xcodeproj' -scheme 'TextFieldAlertExample' -destination 'generic/platform=tvOS Simulator'