mirror of
https://github.com/robinraju/release-downloader.git
synced 2026-10-02 08:46:05 +03:00
Update README
This commit is contained in:
1 file changed
+17
-7
@@ -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"
|
||||
```
|
||||
Reference in new issue
Block a user