From 5723c5e1bfb5550a6dd8b60dc1e94144898963da Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Fri, 8 Mar 2024 21:41:58 +0100 Subject: [PATCH] Update package list before installing Apt and apk need their package list updated sometimes. This makes sure that happens. --- .github/workflows/compilation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 51fee61..88a144e 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies Alpine if: matrix.os[0] == 'alpine' run: | - apk add build-base bash git autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev libtool + apk add --no-cache build-base bash git autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev libtool - name: Install dependencies Fedora if: matrix.os[0] == 'fedora' @@ -47,6 +47,7 @@ jobs: - name: Install on Ubuntu if: matrix.os[0] == 'ubuntu-latest' run: | + sudo apt-get update sudo apt-get -y install libarchive-dev libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev echo "MSYSTEM=x64" >> $GITHUB_ENV