Merge pull request #55 from actions/err-if-no-files-found

Fail if no artifact file is found to upload
This commit is contained in:
James M. Greene
2023-03-24 10:12:27 -05:00
committed by GitHub

View File

@@ -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