Commit 2ef44dd
committed
CI: Use year and week number cache key for -master and -latest
The commit 790ed93 ("CI: enable caching for
openssl-master, libressl-master, and aws-lc-latest") assumed that caches expire
after a week, but they only expire if not accessed within that period. On an
active repository, the cache would be accessed on every CI run and remain
permanently stale.
https://github.com/actions/cache#cache-limits
Include the current year and week number in the cache key for openssl-master,
libressl-master, and aws-lc-latest to ensure the cached builds are refreshed
weekly.
http://man7.org/linux/man-pages/man1/date.1.html
> %W week number of year, with Monday as first day of week
> (00..53)
Assisted-by: Claude:Opus 4.61 parent 177a1a7 commit 2ef44dd
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | | - | |
| 136 | + | |
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
| |||
0 commit comments