Skip to content

fix/nokogiri-install-fail #47

fix/nokogiri-install-fail

fix/nokogiri-install-fail #47

Workflow file for this run

name: Build
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md' ]
pull_request:
branches: [ '*' ]
paths-ignore: [ '**.md' ]
jobs:
test:
runs-on: ubuntu-latest
# strategy:
# matrix:
# ruby-version: [2.7]
steps:
- uses: actions/checkout@v4
# - name: Set up Ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
# with:
# ruby-version: ${{ matrix.ruby-version }}
#
# - uses: actions/cache@v1
# with:
# path: vendor/bundle
# key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
#
# # necessary to get ruby 2.3 to work nicely with bundler vendor/bundle cache
# # can remove once ruby 2.3 is no longer supported
# # - run: gem update --system 3.4.22
# - run: sudo apt-get update
# - run: sudo apt-get install -y --no-install-recommends build-essential nodejs
# - run: gem install bundler -v 2.4.22
#
# - run: bundle config set deployment 'true'
# - run: bundle config build.nokogiri --use-system-libraries
# - run: bundle install
- run: bundle exec middleman build