-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change option for downloading all assets to fileName with "*" (#291)
* Change option for downloading all assets to fileName with "*" Add test on CI to download filew from private repo * Update CI workflow
- Loading branch information
Showing
5 changed files
with
178 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ A Github Action to download assets from github release. It can download specifie | |
|
||
# The name of the file to download. | ||
# Use this field only to specify filenames other than tarball or zipball, if any. | ||
# Use '*' to download all assets | ||
fileName: "" | ||
|
||
# Download the attached tarball (*.tar.gz) | ||
|
@@ -92,3 +93,13 @@ A Github Action to download assets from github release. It can download specifie | |
tarBall: true | ||
zipBall: true | ||
``` | ||
|
||
### Download all assets if more than one files are available | ||
|
||
```yaml | ||
- uses: robinraju/[email protected] | ||
with: | ||
repository: "user/repo" | ||
latest: true | ||
fileName: "*" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.