-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi!
Thanks for the project, really appreciate it.
Just wondering if globs work in files? for example will the following:
jobs:
build:
...
steps:
...
- uses: meeDamian/github-release@v2.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
gzip: false
allow_override: true
files: build/*.txtexpand to upload every *.txt file under the build/ directory individually?
I've tried look through the source code, but my bash isn't as good as I thought. There's one comment that implies globbing does happen, but some small tests just in my shell make it seem like they don't work.
I think the following is the same as the source, but it doesn't glob, and echos calendars/*.ics
glob=build/*.txt
for filename in "$glob"; do
echo $filename
doneHowever this example (which isn't the same) globs as expected:
for filename in build/*.txt; do
echo $filename
doneIf you can confirm what exactly the expected behaviour is, I'm happy to make a PR to add this feature!
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels