File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ jobs:
109109 with :
110110 files : " composer.json, behat.yml"
111111
112+ - name : Install Ghostscript
113+ if : steps.check_files.outputs.files_exists == 'true'
114+ run : |
115+ sudo apt-get update
116+ sudo apt-get install ghostscript -y
117+
112118 - name : Set up PHP envirnoment
113119 if : steps.check_files.outputs.files_exists == 'true'
114120 uses : shivammathur/setup-php@v2
@@ -133,6 +139,11 @@ jobs:
133139 restore-keys : |
134140 ${{ runner.os }}-composer-
135141
142+ - name : Change ImageMagick policy to allow pdf->png conversion.
143+ if : steps.check_files.outputs.files_exists == 'true'
144+ run : |
145+ sudo sed -i 's/^.*policy.*coder.*none.*PDF.*//' /etc/ImageMagick-6/policy.xml
146+
136147 - name : Install dependencies
137148 if : steps.check_files.outputs.files_exists == 'true'
138149 run : COMPOSER_ROOT_VERSION=dev-master composer install --prefer-dist --no-progress --no-suggest
You can’t perform that action at this time.
0 commit comments