workflows/tests: split gem cache per OS version

This commit is contained in:
Bo Anderson 2023-10-05 12:32:00 +01:00
parent de575da014
commit e91dc6f6dc
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -313,8 +313,8 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }} path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems${{ matrix.ruby }}-${{ steps.set-up-homebrew.outputs.gems-hash }} key: ${{ matrix.runs-on }}-tests-rubygems${{ matrix.ruby }}-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems${{ matrix.ruby }}- restore-keys: ${{ matrix.runs-on }}-tests-rubygems${{ matrix.ruby }}-
- name: Setup Ruby - name: Setup Ruby
if: matrix.ruby if: matrix.ruby