@@ -15,10 +15,20 @@ inputs:
15
15
description : >-
16
16
GitHub Personal Access Token with the 'repo' scope assigned.
17
17
required : true
18
+ availability-zones-config :
19
+ description : >-
20
+ JSON string array of objects with configurations for multiple availability zones.
21
+ Each object should contain 'imageId', 'subnetId', and 'securityGroupId'.
22
+ Optionally, you can specify 'region' to launch the instance in a specific AWS region.
23
+ If 'region' is not specified, the default AWS_REGION environment variable will be used.
24
+ Example: '[{"imageId":"ami-123","subnetId":"subnet-123","securityGroupId":"sg-123"},{"imageId":"ami-456","subnetId":"subnet-456","securityGroupId":"sg-456","region":"us-west-2"}]'
25
+ When provided, the action will try each configuration in sequence until a successful instance is launched.
26
+ This takes precedence over individual ec2-image-id, subnet-id, and security-group-id parameters.
27
+ required : false
18
28
ec2-image-id :
19
29
description : >-
20
30
EC2 Image Id (AMI). The new runner will be launched from this image.
21
- This input is required if you use the 'start' mode.
31
+ This input is required if you use the 'start' mode and don't provide availability-zones-config .
22
32
required : false
23
33
ec2-instance-type :
24
34
description : >-
@@ -28,14 +38,14 @@ inputs:
28
38
subnet-id :
29
39
description : >-
30
40
VPC Subnet Id. The subnet should belong to the same VPC as the specified security group.
31
- This input is required if you use the 'start' mode.
41
+ This input is required if you use the 'start' mode and don't provide availability-zones-config .
32
42
required : false
33
43
security-group-id :
34
44
description : >-
35
45
EC2 Security Group Id.
36
46
The security group should belong to the same VPC as the specified subnet.
37
47
The runner doesn't require any inbound traffic. However, outbound traffic should be allowed.
38
- This input is required if you use the 'start' mode.
48
+ This input is required if you use the 'start' mode and don't provide availability-zones-config .
39
49
required : false
40
50
label :
41
51
description : >-
@@ -88,17 +98,20 @@ inputs:
88
98
description : >-
89
99
Specifies the retry interval in seconds to register the runner after the quiet period.
90
100
required : false
91
- startup-timeout-seconds :
101
+ startup-timeout-minutes :
92
102
description : >-
93
- Specifies the timeout in seconds to register the runner after the quiet period.
103
+ Specifies the timeout in minutes to register the runner after the quiet period.
104
+ required : false
105
+ default : ' 5'
94
106
run-runner-as-service :
95
- type : boolean
96
107
description : >-
97
108
Start the runner as a service rather than using ./run.sh as root.
98
109
required : false
110
+ default : ' false'
99
111
run-runner-as-user :
100
112
description : >-
101
113
Specify user under whom the runner service should run
114
+ required : false
102
115
ec2-volume-size :
103
116
description : >-
104
117
EC2 volume size in GB.
@@ -124,6 +137,10 @@ outputs:
124
137
description : >-
125
138
EC2 Instance Id of the created runner.
126
139
The id is used to terminate the EC2 instance when the runner is not needed anymore.
140
+ region :
141
+ description : >-
142
+ AWS region where the EC2 instance was created.
143
+ This is useful for subsequent AWS operations on the instance.
127
144
runs :
128
145
using : node20
129
146
main : ./dist/index.js
0 commit comments