Update README

This commit is contained in:
Robin Raju committed 2022-06-16 21:23:00 +02:00
1 parent ed86e52bc4
commit bf23333225
1 file changed
+17 -7
+17 -7
View File
@@ -8,7 +8,7 @@ A Github Action to download assets from github release. It can download specifie
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
# The source repository path.
# Expected format {owner}/{repo}
@@ -25,7 +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
# Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
fileName: ""
# Download the attached tarball (*.tar.gz)
@@ -51,7 +51,7 @@ A Github Action to download assets from github release. It can download specifie
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
latest: true
fileName: "foo.zip"
@@ -61,7 +61,7 @@ A Github Action to download assets from github release. It can download specifie
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
repository: "owner/repo"
tag: "v1.0.0"
@@ -72,7 +72,7 @@ A Github Action to download assets from github release. It can download specifie
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
repository: "owner/repo"
latest: true
@@ -84,7 +84,7 @@ A Github Action to download assets from github release. It can download specifie
### Download multiple assets
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
repository: "owner/repo"
latest: true
@@ -96,9 +96,19 @@ A Github Action to download assets from github release. It can download specifie
### Download all assets if more than one files are available
```yaml
- uses: robinraju/release-downloader@v1.3
- uses: robinraju/release-downloader@v1.4
with:
repository: "owner/repo"
latest: true
fileName: "*"
```
### Download assets using wildcard pattern
```yaml
- uses: robinraju/release-downloader@v1.4
with:
repository: "owner/repo"
latest: true
fileName: "*.deb"
```