Skip to content

Commit

Permalink
Fix/add artifact input (#2)
Browse files Browse the repository at this point in the history
* add artifact as an optional input

* fix typo
  • Loading branch information
rahulpatidar0191 authored Feb 21, 2024
1 parent 8354139 commit 257765c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inputs:
environment:
description: Environment this action runs on
required: false
artifact:
description: Name of artifact
required: false
default: "xml-reports"

outputs:
BADGES: # id of output
Expand All @@ -23,7 +27,7 @@ runs:
- name: Download xml reports
uses: actions/[email protected]
with:
name: xml-reports
name: ${{ inputs.artifact }}

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

0 comments on commit 257765c

Please sign in to comment.