diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-11 15:14:24 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-11 15:14:24 +0300 |
commit | c63b2d7d6875e2e92bf61f060656ea9298fbc5d4 (patch) | |
tree | db42abd49b481affeb1b9e4dc4779290895f013e /.github/workflows | |
parent | workflows/jekyll: fix job name (diff) | |
download | jekyll-theme-c63b2d7d6875e2e92bf61f060656ea9298fbc5d4.tar.gz jekyll-theme-c63b2d7d6875e2e92bf61f060656ea9298fbc5d4.zip |
workflows/jekyll: include Ruby 2.7
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/jekyll.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 916d73e..42482f3 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -9,12 +9,13 @@ jobs: build: strategy: matrix: + ruby-version: [2.5, 2.6, 2.7] version: [Gemfile, latest] include: - {version: Gemfile, gemfile: Gemfile} - {version: latest, gemfile: .ci/Gemfile} runs-on: ubuntu-18.04 - name: 'Build / ${{ matrix.version }}' + name: 'Build / ${{ matrix.ruby-version }} / ${{ matrix.version }}' env: BUNDLE_GEMFILE: '${{ matrix.gemfile }}' steps: @@ -23,7 +24,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6' + ruby-version: '${{ matrix.ruby-version }}' bundler-cache: true - name: jekyll build run: bundle exec jekyll build --drafts @@ -38,7 +39,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6' + ruby-version: '2.7' bundler-cache: true - name: Build run: bundle exec jekyll build --baseurl /jekyll-theme |