-
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.
* Download latest prerelease * Update README * Add test to workflow
- Loading branch information
Showing
13 changed files
with
887 additions
and
69 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist/ | ||
lib/ | ||
node_modules/ | ||
node_modules/ | ||
*.json |
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 |
---|---|---|
|
@@ -18,6 +18,10 @@ A Github Action to download assets from github release. It can download specifie | |
# A flag to set the download target as latest release | ||
# The default value is 'false' | ||
latest: true | ||
|
||
# A flag to download from prerelease. It should be combined with latest flag. | ||
# The default value is 'false' | ||
preRelease: true | ||
|
||
# The github tag. e.g: v1.0.1 | ||
# Download assets from a specific tag/version | ||
|
@@ -165,3 +169,14 @@ A Github Action to download assets from github release. It can download specifie | |
latest: true | ||
extract: true | ||
``` | ||
|
||
### Download latest prerelease | ||
|
||
```yaml | ||
- uses: robinraju/[email protected] | ||
with: | ||
repository: "owner/repo" | ||
fileName: "foo.zip" | ||
latest: true | ||
preRelease: true | ||
``` |
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.