We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb235a commit 86d18a3Copy full SHA for 86d18a3
src/index.ts
@@ -143,7 +143,7 @@ async function runAction(inputs: Inputs) {
143
} else if (!done && inputs.retry_on === 'error') {
144
// error: timeout
145
throw error;
146
- } else if (inputs.retry_on_exit_code && inputs.retry_on_exit_code !== exit) {
+ } else if (done && inputs.retry_on_exit_code && inputs.retry_on_exit_code !== exit) {
147
148
} else if (exit > 0 && inputs.retry_on === 'timeout') {
149
// error: error
0 commit comments