Updated wkhtmltopdf-binaries

This commit is contained in:
Sergei Tsoganov 2023-03-16 13:26:57 +02:00
parent cc4a33aa7f
commit 74e7a0a2fe
3 changed files with 6 additions and 16 deletions

View file

@ -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' }}
@ -34,16 +34,6 @@ jobs:
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: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/$GITHUB_HEAD_REF:refs/remotes/origin/$GITHUB_HEAD_REF
@ -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 }}

View file

@ -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'

View file

@ -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)
@ -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