File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ async function runAction(inputs: Inputs) {
130
130
await validateInputs ( inputs ) ;
131
131
132
132
for ( let attempt = 1 ; attempt <= inputs . max_attempts ; attempt ++ ) {
133
+ info ( `::group::Attempt ${ attempt } ` ) ;
133
134
try {
134
135
// just keep overwriting attempts output
135
136
setOutput ( OUTPUT_TOTAL_ATTEMPTS_KEY , attempt ) ;
@@ -156,6 +157,8 @@ async function runAction(inputs: Inputs) {
156
157
info ( `Attempt ${ attempt } failed. Reason: ${ error . message } ` ) ;
157
158
}
158
159
}
160
+ } finally {
161
+ info ( `::endgroup::` ) ;
159
162
}
160
163
}
161
164
}
@@ -184,4 +187,4 @@ runAction(inputs)
184
187
// if continue_on_error, exit with exact error code else exit gracefully
185
188
// mimics native continue-on-error that is not supported in composite actions
186
189
process . exit ( inputs . continue_on_error ? 0 : exitCode ) ;
187
- } ) ;
190
+ } ) ;
You can’t perform that action at this time.
0 commit comments