Skip to content

Commit

Permalink
add example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jul 15, 2023
1 parent b138d05 commit 296e5db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This action allows the cache of GitHub Actions to be automatically purged

## Basic usage

See [action.yml](action.yml)

```yaml
Expand All @@ -13,6 +14,10 @@ steps:
max-age: 604800 # Cache max 7 days since last use (this is the default)
```
## Example workflow
See [ci.yaml](.github/workflows/ci.yaml)
## Other options
### Debug
Expand Down Expand Up @@ -41,4 +46,4 @@ steps:
- uses: MyAlbum/purge-cache
with:
token: $GITHUBTOKEN # Set a GitHub token
```
```

0 comments on commit 296e5db

Please sign in to comment.