Merge pull request #16089 from Bo98/gem-cache-fix

workflows/tests: split gem cache per OS version
This commit is contained in:
Mike McQuaid 2023-10-05 16:30:12 +01:00 committed by GitHub
commit 0c35bc7e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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