From c930e9e92ad07ee314e5657af1cace4e275ddd70 Mon Sep 17 00:00:00 2001 From: fleaz Date: Wed, 22 May 2024 23:56:27 +0200 Subject: [PATCH] ci: move apt into seperat job --- .github/workflows/deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 98bfc5b..ca49298 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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' /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