Skip to content

Commit 64bcae5

Browse files
authored
Merge pull request #55 from actions/err-if-no-files-found
Fail if no artifact file is found to upload
2 parents a3acd10 + d07e481 commit 64bcae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ runs:
6969
INPUT_PATH: ${{ inputs.path }}
7070

7171
- name: Upload artifact
72-
uses: actions/upload-artifact@main
72+
uses: actions/upload-artifact@v3
7373
with:
7474
name: ${{ inputs.name }}
7575
path: ${{ runner.temp }}/artifact.tar
7676
retention-days: ${{ inputs.retention-days }}
77+
if-no-files-found: error

0 commit comments

Comments
 (0)