Skip to content

Commit

Permalink
Fix imagemagick pdf policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Northo committed Sep 3, 2024
1 parent ddaf618 commit 7bab6d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-latex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ jobs:
name: PDF-${{ matrix.print && 'print' || 'digital' }}
path: Thesis/master.pdf
create-preview:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Fixes PDF not allowed policy in 22.04
needs: build-latex
steps:
- name: Download PDF
uses: actions/download-artifact@v4
with:
name: PDF-print
- name: Install imagemagick (convert)
run: |
sudo apt-get update
sudo apt-get install imagemagick
- name: Make montage
run: >-
convert -density 150 "master.pdf[0,36,38,52]" -alpha remove -border 10x10 out.png
Expand Down

0 comments on commit 7bab6d2

Please sign in to comment.