repair cache key and add restore key

This commit is contained in:
hyuraku 2021-04-06 23:01:42 +09:00
parent 3c308aa031
commit 9476ba2d2f

View File

@ -208,7 +208,8 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: tests 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 - name: Run brew tests
run: | run: |
@ -299,7 +300,8 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: tests 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 - name: Run brew tests
run: brew tests --online --coverage run: brew tests --online --coverage