Skip to content

Commit

Permalink
Updated wkhtmltopdf-binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Tsoganov authored and Sergei Tsoganov committed Mar 16, 2023
1 parent cc4a33a commit 74e7a0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
os: [ubuntu-22.04]
ruby: [ '2.7', '3.0.3' ]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
Expand All @@ -33,16 +33,6 @@ jobs:
bundle config set deployment '[secure]'
bundle env
head -n1 $(which bundle)
- name: Install wkhtmlpdf (push)
run: |
sudo apt-get update
wget http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~eoan_amd64.deb
sudo dpkg -i libpng12-0_1.2.54-1ubuntu1.1+1~ppa0~eoan_amd64.deb
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo apt-get install -y gdebi
sudo gdebi --non-interactive wkhtmltox_0.12.6-1.focal_amd64.deb
if: github.event_name == 'push'
- name: Set ENV for codeclimate (pull_request)
run: |
Expand Down Expand Up @@ -99,7 +89,7 @@ jobs:
fail-fast: false
matrix:
ruby: [ '2.7', '3.0.3' ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ gem 'e_invoice', github: 'internetee/e_invoice', branch: :master
gem 'haml', '~> 6.0'
gem 'lhv', github: 'internetee/lhv', branch: 'master'
gem 'rexml'
gem 'wkhtmltopdf-binary', '~> 0.12.5.1'
gem 'wkhtmltopdf-binary', '~> 0.12.6.1'

gem 'directo', github: 'internetee/directo', branch: 'master'

Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ GEM
websocket-extensions (0.1.5)
whenever (1.0.0)
chronic (>= 0.6.3)
wkhtmltopdf-binary (0.12.5.4)
wkhtmltopdf-binary (0.12.6.6)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.7)
Expand Down Expand Up @@ -597,7 +597,7 @@ DEPENDENCIES
webdrivers
webmock
whenever (= 1.0.0)
wkhtmltopdf-binary (~> 0.12.5.1)
wkhtmltopdf-binary (~> 0.12.6.1)

BUNDLED WITH
2.4.3
2.4.8

0 comments on commit 74e7a0a

Please sign in to comment.