Change cache key to use commit sha

This commit is contained in:
Peter Evans 2019-11-03 11:43:49 +09:00
parent a90d1a0f71
commit 6c1be59bbc

View file

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