File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
actions/execute_and_retry Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 2
2
name : Command Retry Logic
3
3
4
4
inputs :
5
+ # (Optional) Command to run before the retry command. To be used for environment setup, etc
5
6
pre-command :
6
7
required : false
7
8
type : string
9
+ # (Optional) Number of retries to perform. Default is 2
8
10
max_retry :
9
11
required : false
10
12
type : number
11
13
default : 2
14
+ # (Required) Command to execute with the retry mechanism
12
15
command :
13
16
required : true
14
17
type : string
18
+ # (Required) Command to clean up resources before retrying the main command
15
19
cleanup :
16
20
required : false
17
21
type : string
22
+ # (Optional) Follow-up command after the main command is finished.
18
23
post-command :
19
24
required : false
20
25
type : string
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ jobs:
180
180
- name : Build Gradlew
181
181
uses : ./.github/workflows/actions/execute_and_retry
182
182
with :
183
+ max_retry : 4
183
184
command : " ./gradlew"
184
185
185
186
# Validation for pulse telemetry data
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ jobs:
277
277
- name : Build Gradlew
278
278
uses : ./.github/workflows/actions/execute_and_retry
279
279
with :
280
+ max_retry : 4
280
281
command : " ./gradlew"
281
282
282
283
# Validation for app signals telemetry data
You can’t perform that action at this time.
0 commit comments