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 dce8a92 commit 613098aCopy full SHA for 613098a
setup-rerun-vars/action.yml
@@ -6,14 +6,15 @@ inputs:
6
description: 'Run attempt number'
7
required: true
8
9
-jobs:
10
- check-rerun:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - name: Check if this is a re-run
14
- run: |
15
- if [ "${{ inputs.run_attempt }}" -gt 1 ]; then
16
- echo "This run is a re-run (attempt #${{ inputs.run_attempt }})."
17
- else
18
- echo "This is the first run."
19
- fi
+runs:
+ using: 'composite'
+ steps:
+ - name: Check if this is a re-run
+ shell: bash
+ run: |
+ if [ "${{ inputs.run_attempt }}" -gt 1 ]; then
+ echo "This run is a re-run (attempt #${{ inputs.run_attempt }})."
+ else
+ echo "This is the first run."
+ fi
20
+
0 commit comments