This commit is contained in:
parent
8c52faefdd
commit
46baa5dd0a
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
container: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
@ -18,11 +19,11 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||
apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||
|
||||
- name: Patch ghostsccript thanks to CVE-2018-16509
|
||||
run: |
|
||||
sudo sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
|
||||
sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue