mirror of
https://github.com/dokuwiki/docker.git
synced 2025-07-23 02:54:48 +00:00
use partial restore key in github action
We use a unique hash key on each run, this ensures the cache gets rewritten on each run. The partial restore then loads the newest key on the next run.
This commit is contained in:
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@ -22,7 +22,9 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .github/matrix.cache/
|
||||
key: ${{ runner.os }}-matrix-${{ hashFiles('.github/matrix.php') }}
|
||||
key: ${{ runner.os }}-matrix-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-matrix-
|
||||
- name: Set up matrix
|
||||
id: set-matrix
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user