From e91dc6f6dc3d5e245e00b372d3a581783a431b2e Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Thu, 5 Oct 2023 12:32:00 +0100 Subject: [PATCH] workflows/tests: split gem cache per OS version --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3fcde8011723e..4831c60fc210d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -313,8 +313,8 @@ jobs: uses: actions/cache@v3 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} - key: ${{ runner.os }}-rubygems${{ matrix.ruby }}-${{ steps.set-up-homebrew.outputs.gems-hash }} - restore-keys: ${{ runner.os }}-rubygems${{ matrix.ruby }}- + key: ${{ matrix.runs-on }}-tests-rubygems${{ matrix.ruby }}-${{ steps.set-up-homebrew.outputs.gems-hash }} + restore-keys: ${{ matrix.runs-on }}-tests-rubygems${{ matrix.ruby }}- - name: Setup Ruby if: matrix.ruby