Open ababushk opened 1 year ago
This is much more of an issue now that v3 is deprecated and we're supposed to migrate to upload-artifact@v4, which doesn't automatically merge artifacts and we're meant to supply multiple paths instead.
Also, bloody hell, due to https://github.com/actions/upload-artifact/issues/457 still not being fixed these files are just ignored silently. Brilliant.
What happened?
When used inside a container and when a few paths provided,
upload-artifact@v3
uploads only files found using the first glob provided.What did you expect to happen?
All files are found using all the globs provided via multi-line string.
How can we reproduce it?
I've created minimal workflow file to reproduce the issue:
In the first job the archive will contain two text files, in the second - only one. You can check the result here https://github.com/ababushk/githubactionstest/actions/runs/6226598794
Anything else we need to know?
It looks like it is connected to https://github.com/actions/runner/issues/2058
What version of the action are you using?
v3
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response