generated from futureware-tech/template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
45 lines (45 loc) · 1.46 KB
/
action.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
42
43
44
45
name: 'Launch iOS Simulator'
description: 'Launch an iOS Simulator (and shut it down once the job completes)'
branding:
icon: smartphone
color: gray-dark
inputs:
model:
description: "Simulator device model name (e.g. 'iPhone 8' )"
required: false
os:
description: "OS type (supported: 'iOS', 'watchOS' and 'tvOS')"
required: false
os_version:
description: "OS version requirement in semver format (e.g. '^14.4')"
required: false
udid:
description: >
Specific UDID of the device to start. If UDID is specified along with OS
and/or model, the action fails if the device with this UDID does not match
specified constraints
required: false
erase_before_boot:
description: Whether the Simulator data should be erased before booting
required: true
default: 'true'
wait_for_boot:
description: >
Whether the action must wait for the Simulator to finish booting requested
image
required: false
default: 'false'
shutdown_after_job:
description: >
Whether the Simulator should be shut down after the job has finished. This
is mostly relevant when e.g. running on self-hosted actions where the host
OS and therefore Simulator will continue running after the job is finished
required: true
default: 'true'
outputs:
udid:
description: 'UDID of the launched device, for use with e.g. xcrun command'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'