Feature request: Add input type file to upload files to workflow runs.
#49612
Replies: 1 comment
-
|
TLDR; Hey @codiophile, and for anyone else who might be interested, I've created an action - Interactive Inputs that gives you Runtime inputs, and it also supports Please check it out and let me know your thoughts, feedback and future feature requests; you can find it on the marketplace. ====== See in action below (without sending portal Url to Slack/Discord) - Example workflow.yaml using action with
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
I have a Jenkins pipeline that allows you to upload a file, that processes the uploaded file and creates an artifact out of the processed file. So far, I haven't found a way to migrate this pipeline to GitHub Actions, as it doesn't seem like there is a way to upload files to workflows. Obviously, I could upload the file to Nexus or similar and then provide the URL as input to GitHub Actions, but that would add an extra step and for as long as the Jenkins job is still available, I would always use that.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype
I think the cleanest way to add this functionality would be to add a
fileinput type to workflow dispatch.I suppose you could also provide an action that lets you upload a file, but then you would have to trigger the workflow and wait for a runner to pick it up and reach that action, which is certainly a worse experience. I'm not sure if it is possible to write actions that integrate with the GitHub UI. I'm assuming it isn't, but if it is, the community could probably write an action that does this. So if anything like that already exists, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions