ci: move apt into seperat job
This commit is contained in:
parent
7ab5644822
commit
c930e9e92a
1 changed files with 4 additions and 1 deletions
5
.github/workflows/deploy.yaml
vendored
5
.github/workflows/deploy.yaml
vendored
|
@ -16,13 +16,16 @@ jobs:
|
|||
with:
|
||||
go-version: 1.21
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||
|
||||
- name: Patch ghostsccript thanks to CVE-2018-16509
|
||||
run: |
|
||||
sudo sed -i '$i<policy domain="coder" rights="read | write" pattern="PDF" />' /etc/ImageMagick-6/policy.xml
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||
mkdir {previews,dist}
|
||||
go run main.go
|
||||
ls -laR
|
||||
|
|
Loading…
Add table
Reference in a new issue