Skip to content

Commit

Permalink
Run build CI also with Jekyll < 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Oct 15, 2024
1 parent 04ecbfb commit 71b36c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
jekyll: ["< 4.0", "< 5.0"]
env:
JEKYLL_VERSION: ${{ matrix.jekyll }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,6 +33,7 @@ jobs:
env:
JEKYLL_ENV: production
- name: Upload artifact
if: ${{ matrix.jekyll == "< 5.0" }}
uses: actions/upload-pages-artifact@v3

pa11y-ci:
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source "https://rubygems.org"
gemspec

gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
gem "kramdown-parser-gfm" if ENV["JEKYLL_VERSION"] == "< 4.0"
gem "webrick"

0 comments on commit 71b36c5

Please sign in to comment.