From 16506dbfe132b7997318a88e547ef444cd301656 Mon Sep 17 00:00:00 2001 From: Ben Sheldon Date: Thu, 24 Jun 2021 10:17:07 -0700 Subject: [PATCH] Separately cache Appraisal gems in GH Action --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32291ae38..17cafc865 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,6 +70,13 @@ jobs: uses: ruby/setup-ruby@v1 with: bundler-cache: true + - name: Ruby gem cache (including Appraisal gems) + uses: actions/cache@v1 + with: + path: vendor/bundle + key: v1-bundler-${{ runner.os }}-${{ steps.ruby_version.outputs.value }}-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + v1-bundler-${{ runner.os }}-${{ steps.ruby_version.outputs.value }}- - name: Install Appraisal gems run: bundle exec appraisal install