From 37016f043193009c99cbea42be7fc6a7a39abf5a Mon Sep 17 00:00:00 2001 From: Marcelo Lazaroni Date: Fri, 29 Nov 2024 13:17:37 +0000 Subject: [PATCH] Use sudo for Linux dep installs --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5257c13..af3db74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install system dependencies Linux + if: runner.os == 'Linux' + run: | + sudp apt-get install pcre-dev + - name: Setup - PostgreSQL id: postgres-setup uses: ikalnytskyi/action-setup-postgres@v7 @@ -43,11 +48,6 @@ jobs: cabal-version: 'latest' cabal-update: true - - name: Install system dependencies Linux - if: runner.os == 'Linux' - run: | - apt-get install pcre-dev - - name: Build - Configure run: | cabal configure --enable-tests --enable-benchmarks --disable-documentation