From 9476ba2d2f1dd60082e0a708f5683f678557e733 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Tue, 6 Apr 2021 23:01:42 +0900 Subject: [PATCH] repair cache key and add restore key --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e58b9b52a..0b71231972 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -208,7 +208,8 @@ jobs: uses: actions/cache@v1 with: path: tests - key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec + key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }} + restore-keys: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec - name: Run brew tests run: | @@ -299,7 +300,8 @@ jobs: uses: actions/cache@v1 with: path: tests - key: ${{ runner.os }}-parallel_runtime_rspec.log + key: ${{ runner.os }}-parallel_runtime_rspec-${{ github.sha }} + restore-keys: ${{ runner.os }}-parallel_runtime_rspec - name: Run brew tests run: brew tests --online --coverage