Skip to content
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

Support Uploading multiple files #5

Open
johrstrom opened this issue Mar 8, 2022 · 3 comments
Open

Support Uploading multiple files #5

johrstrom opened this issue Mar 8, 2022 · 3 comments

Comments

@johrstrom
Copy link
Contributor

For Open OnDemand, it's likely the artifact in use (the one being cited) is an .rpm package and not the source code.

So in my case, I'd like to upload many files. Namely, The source tar and packages like rpm and deb. Ruby's really good with fileglobs, so I tend to use them a lot and think most folks would want to ** directories.

with:
  files:
    # specific files
    - 'packaging/rpm/cool-package-{{ version }}.rpm'
  
    # with globs
    - 'packaging/deb/cool_package*'
@vsoch
Copy link
Contributor

vsoch commented Mar 8, 2022

yeah great idea! We can just shove this into glob :)

@vsoch
Copy link
Contributor

vsoch commented Mar 8, 2022

Also, I've never seen a "with" or an envar as a list - I think people usually have to do:

with:
  files: | 
     one
     two
     three

And then it's parsed as a blob with newlines in it, if that makes sense.

@johrstrom
Copy link
Contributor Author

That makes sense, GH can't pass an array to a shell command? I didn't think it through. But in any case, cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants