From 40e6eefe7092436a79dbf46975fbd46db38b6235 Mon Sep 17 00:00:00 2001 From: Ouziel Slama Date: Tue, 5 Mar 2024 13:54:53 +0100 Subject: [PATCH] Use sudo for apt-get --- .github/workflows/build_and_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 363127f455..677269749e 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -110,8 +110,6 @@ jobs: - name: Install leveldb run: | brew install leveldb - export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" - export CPATH="$CPATH:$(brew --prefix)/include" - name: Install pytest and build module run: | @@ -127,6 +125,8 @@ jobs: - name: Build counterparty-lib run: | + export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" + export CPATH="$CPATH:$(brew --prefix)/include" cd counterparty-lib && python -m build --out ../dist - name: Build counterparty-cli @@ -175,7 +175,7 @@ jobs: - name: Install leveldb run: | - apt-get install -y libleveldb-dev + sudo apt-get install -y libleveldb-dev - name: Install pytest and build module run: |