Skip to content

Commit

Permalink
Fix imagemagick pdf policy on runner
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelva committed Dec 24, 2024
1 parent 0580520 commit 281ca02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maven_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ jobs:
]
- name: Install OS dependencies
run: sudo apt-get -y install ffmpeg exiftool
run: sudo apt-get -y install exiftool

- name: Change ImageMagick policy to allow pdf->png conversion.
run: |
sudo sed -i 's/^.*policy.*coder.*none.*PDF.*//' /etc/ImageMagick-6/policy.xml
- name: Build with Maven
run: mvn -B install --file pom.xml -DskipDocker=true

0 comments on commit 281ca02

Please sign in to comment.