소스 검색

Update docs.yml

Fix ruby cache invalidation
XhmikosR 4 년 전
부모
커밋
5af47e0398
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      .github/workflows/docs.yml

+ 2 - 2
.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