Skip to content
Permalink
Browse files

Use cache key of Gemfile

Failure if Gemfile.lock is used:

    ##[error]The template is not valid.
    hashFiles('/home/runner/work/pixyll/pixyll/**/Gemfile.lock') failed.
    Search pattern
    '/home/runner/work/pixyll/pixyll/**/Gemfile.lock' doesn't match any
    file under '/home/runner/work/pixyll/pixyll'
  • Loading branch information
ashawley committed Mar 16, 2020
1 parent c25f6de commit 76d3d580b5b8f83b5e57183478744a42ea215d01
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/build.yml
@@ -18,7 +18,7 @@ jobs:
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Set up Ruby 2.6

0 comments on commit 76d3d58

Please sign in to comment.
You can’t perform that action at this time.