From 5af47e039855a9167f810bd42a475fa02fa0ebd8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 12 Jun 2020 14:22:24 +0300 Subject: [PATCH] Update docs.yml Fix ruby cache invalidation --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d518e8f19..0b4beda06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,9 +47,9 @@ jobs: uses: actions/cache@v2 with: path: docs/vendor/bundle - key: ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }} + key: ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('docs/Gemfile') }}-${{ hashFiles('docs/Gemfile.lock') }} restore-keys: | - ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }} + ${{ runner.os }}-ruby-v${{ env.RUBY }}-${{ hashFiles('docs/Gemfile') }}-${{ hashFiles('docs/Gemfile.lock') }} ${{ runner.os }}-ruby-v${{ env.RUBY }}- - name: Set up Bundler