You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/08/26 16:51:44 UTC
[accumulo-website] branch main updated: Cache bundler artifacts for
CI testing
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 bafdc17 Cache bundler artifacts for CI testing
bafdc17 is described below
commit bafdc170d21fdf85c7459d5abd6fac17b3c5ab36
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Wed Aug 26 12:51:20 2020 -0400
Cache bundler artifacts for CI testing
---
.github/workflows/jekyll.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll.yaml b/.github/workflows/jekyll.yaml
index 8b8a850..d5f9332 100644
--- a/.github/workflows/jekyll.yaml
+++ b/.github/workflows/jekyll.yaml
@@ -27,7 +27,7 @@ on:
jobs:
jekyll:
- timeout-minutes: 5
+ timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -35,10 +35,17 @@ jobs:
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6
+ - name: Cache gems
+ uses: actions/cache@v2
+ with:
+ path: ~/vendor/bundle
+ key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
+ restore-keys: ${{ runner.os }}-gem
- name: Test site build
run: |
ruby --version
gem install bundler
+ bundle config path ~/vendor/bundle
bundler install --jobs 4 --retry 3
bundle exec jekyll build
- name: Upload site