Skip to content

Commit

Permalink
Add the action preventing the cache from being evicted
Browse files Browse the repository at this point in the history
  • Loading branch information
gukoff committed Sep 27, 2024
1 parent aa520fe commit b2e4034
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/warm-up-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Warm up the caches

on:
schedule:
- cron: '0 0 * * */3'
# "GitHub will remove any cache entries that have not been accessed in over 7 days".
# This schedule will touch the cache 2 times a week at midnight.
#
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy


jobs:
benchmark:
name: Checkout the caches
runs-on: ubuntu-latest
steps:
- name: Checkout last-benchmark
uses: actions/cache@v4
with:
path: ./cache
key: last-benchmark

0 comments on commit b2e4034

Please sign in to comment.