From 4998ac580303e2ea9ce463d2c5e1696dc7eaa947 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 30 Apr 2024 22:16:19 -0700 Subject: [PATCH] github requires sudo --- .github/workflows/zig-build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/zig-build.yaml b/.github/workflows/zig-build.yaml index d454447..57f89b9 100644 --- a/.github/workflows/zig-build.yaml +++ b/.github/workflows/zig-build.yaml @@ -16,12 +16,12 @@ jobs: - uses: elerch/zig-action-cache@v1.1.6 - name: Install system dependencies run: | - apt-get update - apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6) + sudo apt-get update + sudo apt-get install fonts-hack # imagemagick (container has imagemagick, but version 6) curl -LOs https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-31.tar.gz tar xzf 7.1.1-31.tar.gz cd ImageMagick-7.1.1-31/ - ./configure && make install && ldconfig /usr/local/lib + ./configure && sudo make install && sudo ldconfig /usr/local/lib cd .. - name: Build project run: zig build --summary all