From 79d0bca2c7270c5f771fd089c2033863f3de0365 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 15 Apr 2020 20:37:53 +0200 Subject: [PATCH] Add 'restore-keys' to Github Actions config to avoid unnecessary recompilation (#350) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b5e246e..819c548d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,7 @@ jobs: target/*/build target/*/deps key: ${{ matrix.config.target }}-${{ matrix.config.variant }}-${{ hashFiles('Cargo.lock') }} + restore-keys: ${{ matrix.config.target }}-${{ matrix.config.variant }}- - name: Install and start sccache shell: pwsh