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