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 53c7a5f commit 0595978Copy full SHA for 0595978
.github/workflows/workflow-restarter.yml
@@ -30,13 +30,13 @@ jobs:
30
# IF `--attempts` returns a non-zero exit code, then keep retrying
31
status_code=$(gh run view ${{ inputs.run_id }} --repo ${{ inputs.repo }} --attempt ${{ inputs.retries }} --json status) || {
32
echo "Retry count is within limit"
33
- echo "::set-output name=should_retry::true"
+ echo "should_retry=true" >> $GITHUB_OUTPUT
34
exit 0
35
}
36
37
# ELSE `--attempts` returns a zero exit code, so stop retrying
38
echo "Retry count has reached the limit"
39
- echo "::set-output name=should_retry::false"
+ echo "should_retry=false" >> $GITHUB_OUTPUT
40
env:
41
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42
0 commit comments