From f03fa692baa1a7b15bf1b830fa24515ca58c7cd2 Mon Sep 17 00:00:00 2001 From: Sandipsinh Rathod Date: Sun, 15 Sep 2024 16:39:14 -0400 Subject: [PATCH] Adjust ImageMagick Policy --- .github/workflows/genpdf.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/genpdf.yml b/.github/workflows/genpdf.yml index b06023e..81c7400 100644 --- a/.github/workflows/genpdf.yml +++ b/.github/workflows/genpdf.yml @@ -66,6 +66,11 @@ jobs: run: | sudo apt-get install -y imagemagick + - name: Adjust ImageMagick Policy + run: | + sudo sed -i '//d' /etc/ImageMagick-6/policy.xml + + - name: Convert images to PDF run: | convert screenshots/*.png screenshots/output.pdf