-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ruby action and ubuntu version
- Loading branch information
1 parent
a9ff404
commit 5d2c258
Showing
1 changed file
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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: | ||
|