Skip to content

Commit 654bab4

Browse files
Trying to get the cache working
1 parent c52a06a commit 654bab4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,22 +90,22 @@ jobs:
9090
- uses: actions/cache@v2
9191
with:
9292
path: vendor/bundle
93-
key: ${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}-${{ hashFiles(format('gemfiles/{0}.gemfile', matrix.gemfile)) }}
93+
key: v1-${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}-${{ hashFiles(format('gemfiles/{0}.gemfile', matrix.gemfile)) }}
9494
restore-keys: |
95-
${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}
96-
${{ runner.os }}-branch-master-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}
95+
v1-${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}
96+
v1-${{ runner.os }}-branch-master-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}
9797
9898
- name: Bundle install
99-
run: |
100-
bundle config path vendor/bundle
101-
bundle install --jobs 4 --retry 3
99+
run: bundle install --jobs 4 --retry 3
102100
env:
103101
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
102+
BUNDLE_PATH: vender/bundle
104103

105104
- name: RSpec
106105
run: bundle exec rspec -f doc --color
107106
env:
108107
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
108+
BUNDLE_PATH: vender/bundle
109109

110110

111111
finish:

0 commit comments

Comments
 (0)