Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan-Zuidema committed Jul 19, 2023
1 parent b165831 commit 758aa47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ See [action.yml](action.yml)
```yaml
steps:
# Do other steps like checkout, install, compile, etc.
- uses: MyAlbum/purge-cache
- uses: MyAlbum/purge-cache@v2
with:
max-age: 604800 # Cache max 7 days since last use (this is the default)
```
Expand All @@ -31,7 +31,7 @@ Output debug data (defaults to `false`)
```yaml
steps:
# Do other steps like checkout, install, compile, etc.
- uses: MyAlbum/purge-cache
- uses: MyAlbum/purge-cache@v2
with:
debug: true # Set to true to output debug info
```
Expand All @@ -43,7 +43,7 @@ Set a GitHub token, will default to `${github.token}`. This will probably not be
```yaml
steps:
# Do other steps like checkout, install, compile, etc.
- uses: MyAlbum/purge-cache
- uses: MyAlbum/purge-cache@v2
with:
token: $GITHUBTOKEN # Set a GitHub token
```
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purge-cache",
"version": "1.0.0",
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 758aa47

Please sign in to comment.