This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 47e77323 Fix jekyll cache in GitHub Actions
47e77323 is described below

commit 47e773237b351f07d98e37d10a08a531e9cc8646
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Thu Jul 11 14:30:01 2024 -0400

    Fix jekyll cache in GitHub Actions
---
 .github/workflows/jekyll.yaml | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/jekyll.yaml b/.github/workflows/jekyll.yaml
index f77b7cb8..2e38e741 100644
--- a/.github/workflows/jekyll.yaml
+++ b/.github/workflows/jekyll.yaml
@@ -30,21 +30,13 @@ jobs:
     timeout-minutes: 15
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - name: Set up Ruby
       uses: ruby/setup-ruby@v1
       with:
         ruby-version: 3.2.2
-    - name: Cache gems
-      uses: actions/cache@v3
-      with:
-        path: ~/vendor/bundle
-        key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
-        restore-keys: ${{ runner.os }}-gem
+        bundler-cache: true
     - name: Test site build
       run: |
         ruby --version
-        gem install bundler
-        bundle config path ~/vendor/bundle
-        bundle install --jobs 4 --retry 3
         bundle exec jekyll build

Reply via email to