Update apt before installing packages

This commit is contained in:
Brian Hawley 2022-09-29 09:30:30 -07:00
parent ba50008f81
commit 554759c475
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ jobs:
- uses: actions/checkout@v2
- name: Setup ImageMagick policy
run: sudo sh -c 'echo '\''<policymap><policy domain="coder" rights="read|write" pattern="PDF" /></policymap>'\'' > /etc/ImageMagick-6/policy.xml'
- name: Update package list
run: sudo apt update
- name: Install ghostscript to process PDF
run: sudo apt-get -y install ghostscript
- name: Install libvips-dev for Carrierwave::Vips