From 7dc6c35a96c8f1f8bcecd5a4f3b7b90e2fed42b2 Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 11 Nov 2020 18:06:35 +0100 Subject: [PATCH] Change cache key for docker action Signed-off-by: trivernis --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 276508d..146aa12 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -25,7 +25,7 @@ jobs: uses: actions/cache@v2 with: path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} + key: ${{ runner.os }}-buildx-${{ hashFiles('Cargo.lock') }} restore-keys: | ${{ runner.os }}-buildx- -