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/thrift-website.git
The following commit(s) were added to refs/heads/main by this push:
new 0fe186a Update GitHub Actions builds
0fe186a is described below
commit 0fe186a312f2673223174135f6807737ae4d68b0
Author: Christopher Tubbs <[email protected]>
AuthorDate: Thu Jul 25 01:29:57 2024 -0400
Update GitHub Actions builds
---
.github/workflows/jekyll.yaml | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/jekyll.yaml b/.github/workflows/jekyll.yaml
index 2a7705f..055ab89 100644
--- a/.github/workflows/jekyll.yaml
+++ b/.github/workflows/jekyll.yaml
@@ -27,29 +27,21 @@ on:
jobs:
jekyll:
- timeout-minutes: 10
+ timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: Set up Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/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
+ ruby-version: 3.2.2
+ 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
- name: Upload site
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
with:
name: site
path: ./_site/