Skip to content

Commit

Permalink
Update ruby action and ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
benjeffery committed Dec 20, 2023
1 parent a9ff404 commit 5d2c258
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
build-core-site:
needs: cancel-superseded
name: Build core site
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -32,22 +32,10 @@ jobs:
uses: actions/checkout@v3

- name: Set up Ruby 2.7
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7

- uses: actions/cache@v3
with:
path: /opt/hostedtoolcache/Ruby/2.7.2/x64/lib/ruby/gems
key: ${{ runner.os }}-gems-v3-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-v3
- name: Install deps
run: |
gem update --system --no-document
gem install bundler jekyll
bundle install
ruby-version: '2.7'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 5d2c258

Please sign in to comment.