Skip to content

Commit

Permalink
remove cache files using atime
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Sep 28, 2023
1 parent a1242c3 commit 8b094d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cleanup_pip_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Cleanup cache
run: |
echo "Removing pip caches"
[ ! -z "${PIP_CACHE_PATH}" ] && rm -rv ${PIP_CACHE_PATH}/*
echo "Delete cache files if they have not been used in over 30 days"
[ ! -z "${PIP_CACHE_PATH}" ] && find ${PIP_CACHE_PATH} ! -type d -mtime +30 -delete
- name: Post-Collecting Cache Info
run: |
Expand Down

0 comments on commit 8b094d1

Please sign in to comment.