Skip to content

Commit 9629fcb

Browse files
committed
add n runs from last-successful-run
1 parent 1efaed7 commit 9629fcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ outputs:
3737
run-id:
3838
description: 'Id of the workflow-run matching the requirements.'
3939
value: ${{ steps.lastrun.outputs.run-id }}
40+
n-runs:
41+
description: 'Number of runs of the workflow matching the requirements'
42+
value: ${{ steps.lastrun.outputs.n-runs }}
4043
runs:
4144
using: "composite"
4245
steps:
@@ -47,7 +50,7 @@ runs:
4750
fetch-depth: ${{ inputs.fetch-depth }}
4851
- id: lastrun
4952
name: Get latest successful sha
50-
uses: VeoVirt/last-successful-build-action@v7
53+
uses: VeoVirt/last-successful-build-action@v8
5154
with:
5255
token: "${{ inputs.token }}"
5356
branch: ${{ inputs.branch }}

0 commit comments

Comments
 (0)