ci: Fix ghostscript

This commit is contained in:
fleaz 2024-05-22 23:45:47 +02:00
parent 7b3bd5fee8
commit 0c8e10f043
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -16,6 +16,10 @@ jobs:
with:
go-version: 1.21
- name: Patch ghostsccript thanks to CVE-2018-16509
run: |
sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
- name: Build
run: |
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev