upload-artifact
upload-artifact copied to clipboard
[feat req] Make file name the default
What would you like to be added?
From the README:
Uploading without an artifact name
You can upload an artifact without specifying a name
- uses: actions/upload-artifact@v3
with:
path: path/to/artifact/world.txt
If not provided, artifact will be used as the default name which will manifest itself in the UI after upload.
For many purposes it would be beneficial to use the name of the file (world.txt in the above example) instead of artifact
Why is this needed?
Examples are:
- Projects with a versioning system outside of git tags (e.g. manual versions, semver bots, etc)
- Projects with versions based on dates (e.g. Ghidra extensions)
- Projects with versions based on dependencies (e.g. modular systems which use format
<version>+<other_version>)
Agree on this! Why not just parse the file name...
I'd like a name for wildcard imports to turn into multiple artifacts. For example, with the following listing:
/artifacts
foo.zip
bar.tar.gz
baz.tar.gz
And the following configuration:
- uses: actions/upload-artifact@v3
with:
path: /artifacts/*
It would be nice if three artifacts were created and could be downloaded separately: foo.zip, bar.tar.gz, and baz.tar.gz.
seriously, this need to be fixed
I would really love this feature as well :)