Skip to content

Commit 257765c

Browse files
Fix/add artifact input (#2)
* add artifact as an optional input * fix typo
1 parent 8354139 commit 257765c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ inputs:
88
environment:
99
description: Environment this action runs on
1010
required: false
11+
artifact:
12+
description: Name of artifact
13+
required: false
14+
default: "xml-reports"
1115

1216
outputs:
1317
BADGES: # id of output
@@ -23,7 +27,7 @@ runs:
2327
- name: Download xml reports
2428
uses: actions/[email protected]
2529
with:
26-
name: xml-reports
30+
name: ${{ inputs.artifact }}
2731

2832
# generates a .md file with code coverage link
2933
- name: Code Coverage Report

0 commit comments

Comments
 (0)