Skip to content

Commit 47e7732

Browse files
committed
Fix jekyll cache in GitHub Actions
1 parent eb38a98 commit 47e7732

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/jekyll.yaml

+2-10
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,13 @@ jobs:
3030
timeout-minutes: 15
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
- name: Set up Ruby
3535
uses: ruby/setup-ruby@v1
3636
with:
3737
ruby-version: 3.2.2
38-
- name: Cache gems
39-
uses: actions/cache@v3
40-
with:
41-
path: ~/vendor/bundle
42-
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
43-
restore-keys: ${{ runner.os }}-gem
38+
bundler-cache: true
4439
- name: Test site build
4540
run: |
4641
ruby --version
47-
gem install bundler
48-
bundle config path ~/vendor/bundle
49-
bundle install --jobs 4 --retry 3
5042
bundle exec jekyll build

0 commit comments

Comments
 (0)