From d2d939d379964b0d3bbca2267892ecc881af9e69 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 18 Jul 2024 13:56:09 -0400 Subject: [PATCH] Only cache on latest ruby version run? --- .github/workflows/test-ruby.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 0e75a67b783..5d3186ae06e 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -138,6 +138,7 @@ jobs: bin/flatware fan bin/rails db:test:prepare - name: Cache RSpec persistence file + if: matrix.ruby-version == '.ruby-version' uses: actions/cache@v4 with: path: |