-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat req] Ability to upload multiple artifacts #331
Comments
Doesn't this work for you?
|
@retorquere that will create a single archive with these binaries, right? |
We are having a similar problem, just with even more artifacts. |
Seems this PR has the change to do it, but you can see progress has been stalled for awhile. You could fork the changes and fix the merge issue. |
Hey Guys, Any updates on this? |
I support, we need such a function. |
Simply do
|
I have half a dozen artifacts that I'm dumping into a new directory, and the list may expand as I build binaries for new platforms. It would be nice if I could upload all of them as individual artifacts without having to repeat the action six or more times and manually maintain the list to match the number of files. |
doable with some support of bash script and regex I think |
You can invoke actions from bash? |
the other way around, call a customized bash script to reconstruct whatever files/artifacts you need, then output the names and pass to the following jobs. |
My goal is to publish the artifacts for humans to download individually, not to consume in a later job. On release these files are published as release assets, but I'd like them to be temporarily available for all builds not just releases. Your question prompted me to consider why using the action is required at all. Since actions don't have special access to anything in the job runner, it should be possible to recreate the steps used by actions to upload artifacts to azure blob storage manually in principle, perhaps using What follows is a trace of how upload-artifact actually works:
There are some setup and cleanup functions in there which are probably required to get it to work, but I don't see why this isn't possible to replicate in shell. -50MB of javascript to upload a file? 👍 I got bored before I got any farther, but I guess the next step would be to figure out exactly how it gets a signed azure blob upload url. |
Looks like it's possible, please see the discussion |
What would you like to be added?
When building a go application for multiple platforms, I would like to upload the built artifacts as separate files, like this:
Why is this needed?
Right now I have to duplicate the following action call for each binary, and that's not convenient at all.
Keeping all binaries in a single zip file is also not convenient because it requires downloading all binaries at once, while I need only a single one
The text was updated successfully, but these errors were encountered: