Skip to content

Commit 69d8573

Browse files
New setup-ruby comes with caching built-in
1 parent 49decad commit 69d8573

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/publish-website.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ jobs:
1717
- uses: ruby/[email protected]
1818
with:
1919
ruby-version: '2.6'
20-
- uses: actions/cache@v2
21-
with:
22-
path: vendor/bundle
23-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
24-
restore-keys: |
25-
${{ runner.os }}-gems-
20+
bundler-cache: true
2621
- name: Install microsite deps
2722
run: |
2823
bundle config path vendor/bundle

.github/workflows/release.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ jobs:
2020
- uses: ruby/[email protected]
2121
with:
2222
ruby-version: '2.6'
23-
- uses: actions/cache@v2
24-
with:
25-
path: vendor/bundle
26-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
27-
restore-keys: |
28-
${{ runner.os }}-gems-
23+
bundler-cache: true
2924
- name: Install microsite deps
3025
run: |
3126
bundle config path vendor/bundle

0 commit comments

Comments
 (0)