Skip to content

Commit c4e9ed7

Browse files
committed
Fix caching issues in GitHub Workflow matrix caused by cache key being too generic.
1 parent fd918b4 commit c4e9ed7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
id: cache-solid-nextcloud-docker
4949
with:
5050
path: cache/solid-nextcloud
51-
key: solid-nextcloud-docker-${{ github.sha }}
51+
key: solid-nextcloud-docker-${{ matrix.nextcloud_version }}-${{ github.sha }}
5252

5353
- uses: actions/checkout@v3
5454

@@ -108,7 +108,7 @@ jobs:
108108
id: cache-solid-nextcloud-docker
109109
with:
110110
path: cache/solid-nextcloud
111-
key: solid-nextcloud-docker-${{ github.sha }}
111+
key: solid-nextcloud-docker-${{ matrix.nextcloud_version }}-${{ github.sha }}
112112

113113
- uses: docker/login-action@v2
114114
with:

0 commit comments

Comments
 (0)