Skip to content

Commit

Permalink
Add list item markers to the yaml in the README to make it easier to …
Browse files Browse the repository at this point in the history
…paste into a project.
  • Loading branch information
motlin committed Jan 6, 2025
1 parent 8256161 commit db932c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ The action cleaning mechanism is inspired by this [StackOverflow answer](https:/
Add these near the top of the workflow:

```yaml
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-build # Or any other key you want
uses: twosigma/maven-cache-cleaner@v1
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-build # Or any other key you want
- uses: twosigma/maven-cache-cleaner@v1
```
Any files not accessed within the `~/.m2` directory after the `twosigma/maven-cache-cleaner` step will be deleted at the end of the action, before `actions/cache` saves the directory.
Expand Down

0 comments on commit db932c0

Please sign in to comment.