-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF images don't convert in GitHub Actions #452
Comments
👍 |
For reference, this is the error I get:
|
@rowanc1 Seems to be an issue with imagemagick being very cautious with pdf conversion due to a ghostscript vulnerability: https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion |
- run: sudo apt-get update
- run: sudo apt-get -y install ghostscript
- run: sudo sed -i '/domain="coder" rights="none"/d' /etc/ImageMagick-6/policy.xml This circumvents the bug. We should probably also make sure to install Ghostscript ≥9.24 to avoid the vulnerability |
Love this, thank you! I think that if we start to make our own action #453, then we could start to incorporate these there for everyone. Right now the Ideally a |
Need to investigate further on this one!
The text was updated successfully, but these errors were encountered: