Change cache key to use commit sha

pull/37/head
Peter Evans 6 years ago
parent a90d1a0f71
commit 6c1be59bbc

@ -166,7 +166,7 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa
id: cache
with:
path: docker-cache
key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
key: ${{ runner.os }}-docker-${{ github.sha }}
restore-keys: |
${{ runner.os }}-docker-
- name: Load cached Docker layers

Loading…
Cancel
Save