Skip to content

Commit

Permalink
docs: update to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
outloudvi committed May 12, 2023
1 parent 1530641 commit 6d20a8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ With `auto-match: true` it searches for the first URL wrapped in `()` brackets.
For example, you can let it pick the first `[]()` format URL from Markdown:

``` yaml
- uses: suisei-cn/actions-download-file@v1.3.0
- uses: suisei-cn/actions-download-file@v1.4.0
id: downloadfile # Remember to give an ID if you need the output
name: Download the file
with:
url: "The vendor we are using is [this](https://cdn.jsdelivr.net/npm/[email protected]/build/workbox-sw.min.js)!"
target: public/
auto-match: true
retry-times: 3
```
Finding the first `[]()` format URL from a comment event is also working, which is the primary aim of this action:

``` yaml
- uses: suisei-cn/actions-download-file@v1.3.0
- uses: suisei-cn/actions-download-file@v1.4.0
id: downloadfile # Remember to give an ID if you need the output
name: Download the file
with:
Expand Down

0 comments on commit 6d20a8a

Please sign in to comment.