Skip to content

Commit

Permalink
Update clear-cache-cron.yml (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlthelama authored Dec 22, 2023
2 parents 04f2010 + f6a05c4 commit 22b4bc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/clear-cache-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
name: Clear cache
runs-on: ubuntu-latest
steps:
- uses: MyAlbum/purge-cache@v1

- uses: MyAlbum/purge-cache@v2
with:
max-age: 604800 # Cache max 7 days since last use (this is the default)
accessed: true # Purge caches by their last accessed time (default)
created: false # Purge caches by their created time (default)
max-age: 604800 # Leave only caches accessed in the last 7 days (default)

0 comments on commit 22b4bc5

Please sign in to comment.