Skip to content

Commit

Permalink
Merge pull request #55 from actions/err-if-no-files-found
Browse files Browse the repository at this point in the history
Fail if no artifact file is found to upload
  • Loading branch information
JamesMGreene authored Mar 24, 2023
2 parents a3acd10 + d07e481 commit 64bcae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ runs:
INPUT_PATH: ${{ inputs.path }}

- name: Upload artifact
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.name }}
path: ${{ runner.temp }}/artifact.tar
retention-days: ${{ inputs.retention-days }}
if-no-files-found: error

0 comments on commit 64bcae5

Please sign in to comment.