Skip to content

Commit dce8a92

Browse files
committed
Passing input var
1 parent 6198726 commit dce8a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup-rerun-vars/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
steps:
1313
- name: Check if this is a re-run
1414
run: |
15-
if [ "${{ github.run_attempt }}" -gt 1 ]; then
16-
echo "This run is a re-run (attempt #${{ github.run_attempt }})."
15+
if [ "${{ inputs.run_attempt }}" -gt 1 ]; then
16+
echo "This run is a re-run (attempt #${{ inputs.run_attempt }})."
1717
else
1818
echo "This is the first run."
1919
fi

0 commit comments

Comments
 (0)