Skip to content

Commit

Permalink
Fix CI errors caused by gem update --system
Browse files Browse the repository at this point in the history
Also updates ruby version to match current github pages verison
  • Loading branch information
ptheywood committed Jan 3, 2024
1 parent 7c9c984 commit f01ce9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.3 # Check https://pages.github.com/versions/ for the current Ruby version used by gh pages.
ruby-version: 2.7.4 # Check https://pages.github.com/versions/ for the current Ruby version used by gh pages.

# Install dependencies required to run jekyll build
- name: Install gh-pages rubygem via bundler
run: |
# Update gem and bundler
gem update --system --no-document
# Update gem and bundler - disabled due to gem install errors on CI
# gem update --system --no-document
gem update bundler --no-document
# Set the bundle directory
bundle config set path vendor/bundle
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pa11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.3 # Check https://pages.github.com/versions/ for the current Ruby version used by gh pages.
ruby-version: 2.7.4 # Check https://pages.github.com/versions/ for the current Ruby version used by gh pages.

# Install dependencies required to run jekyll build
- name: Install gh-pages rubygem via bundler
run: |
# Update gem and bundler
gem update --system --no-document
# Update gem and bundler - disabled due to gem install errors on CI
# gem update --system --no-document
gem update bundler --no-document
# Set the bundle directory
bundle config set path vendor/bundle
Expand Down

0 comments on commit f01ce9d

Please sign in to comment.