Skip to content

Commit cfaf759

Browse files
authored
fix(get-latest-workflow-artifact): update action definition (#1025)
1 parent e512c9a commit cfaf759

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

actions/get-latest-workflow-artifact/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ inputs:
77
workflow-id:
88
description: ID of the workflow inside the current repository
99
required: true
10+
consider-inprogress:
11+
description: Allow to also return artifacts from in-progress runs
12+
required: false
1013
repository:
1114
description: Repository of the target workflow (e.g. `grafana/grafana`)
1215
required: false
@@ -34,6 +37,9 @@ outputs:
3437
workflow-run-id:
3538
description: ID of the considered workflow run
3639
value: ${{ steps.get-artifact.outputs.workflow-run-id }}
40+
workflow-run-status:
41+
description: Status of the workflow run containing the artifact
42+
value: ${{ steps.get-artifact.outputs.workflow-run-status }}
3743

3844
runs:
3945
using: "composite"
@@ -57,6 +63,7 @@ runs:
5763
INPUT_GITHUB-TOKEN: ${{ inputs.github-token }}
5864
INPUT_ARTIFACT-NAME: ${{ inputs.artifact-name }}
5965
INPUT_WORKFLOW-ID: ${{ inputs.workflow-id }}
66+
INPUT_CONSIDER-INPROGRESS: ${{ inputs.consider-inprogress }}
6067
INPUT_REPOSITORY: ${{ inputs.repository }}
6168
INPUT_PR-NUMBER: ${{ inputs.pr-number }}
6269
INPUT_PATH: ${{ inputs.path }}

0 commit comments

Comments
 (0)