Skip to content

Commit

Permalink
Add step to install missing libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwan committed Dec 14, 2023
1 parent 7492263 commit da457fd
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install libraries
run: |
sudo apt-get update -y
sudo apt-get install -y libxslt-dev libxml2-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems

- name: Run bundle
run: |
gem install bundler
gem install nokogiri -- --use-system-libraries
bundle install
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand Down

0 comments on commit da457fd

Please sign in to comment.