Skip to content

Commit 5723c5e

Browse files
authored
Update package list before installing
Apt and apk need their package list updated sometimes. This makes sure that happens.
1 parent 9645ce8 commit 5723c5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/compilation.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install dependencies Alpine
2020
if: matrix.os[0] == 'alpine'
2121
run: |
22-
apk add build-base bash git autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev libtool
22+
apk add --no-cache build-base bash git autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev libtool
2323
2424
- name: Install dependencies Fedora
2525
if: matrix.os[0] == 'fedora'
@@ -47,6 +47,7 @@ jobs:
4747
- name: Install on Ubuntu
4848
if: matrix.os[0] == 'ubuntu-latest'
4949
run: |
50+
sudo apt-get update
5051
sudo apt-get -y install libarchive-dev libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev
5152
echo "MSYSTEM=x64" >> $GITHUB_ENV
5253

0 commit comments

Comments
 (0)