From 25e417b773b6f4b78c27a79e06c1277e7a5cf342 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 Dec 2021 14:49:10 +0900 Subject: [PATCH] Separate cache key from primary key [ci skip] --- .github/workflows/bundled_gems.yml | 4 +++- .github/workflows/check_misc.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 1478056106..138ada52c3 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -33,7 +33,9 @@ jobs: - uses: actions/cache@v2 with: path: .downloaded-cache - key: downloaded-cache + key: downloaded-cache-${{ github.sha }} + restore-keys: | + downloaded-cache - name: Download previous gems list run: | diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 871e9a9147..9d47d75bc5 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -26,7 +26,9 @@ jobs: - uses: actions/cache@v2 with: path: .downloaded-cache - key: downloaded-cache + key: downloaded-cache-${{ github.sha }} + restore-keys: | + downloaded-cache - name: Download previous gems list run: |