Open nicolalunghi-xlnx opened 8 months ago
if I use the action like this:
- uses: actions/upload-artifact@v3 with: if-no-files-found: error path: | first_dir/ second_dir/
no error is emitted if second_dir doesn't exist
to get an error if any of the files/dir is missing
- run: mkdir first_dir && touch first_dir/file1.txt - uses: actions/upload-artifact@v3 with: if-no-files-found: error path: | first_dir/ second_dir/
No response
v3.1.3
linux
no
Maybe it needs a new flag if-not-all-files-found for this case. Before we have that, I agree it's a bug.
if-not-all-files-found
What happened?
if I use the action like this:
no error is emitted if second_dir doesn't exist
What did you expect to happen?
to get an error if any of the files/dir is missing
How can we reproduce it?
Anything else we need to know?
No response
What version of the action are you using?
v3.1.3
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
no