From 6a3ded733306e12df8b2a8cc1c33dc03448fbee0 Mon Sep 17 00:00:00 2001 From: Alexander Amelkin Date: Sat, 17 Apr 2021 01:59:48 +0300 Subject: [PATCH] ci: Fix Ubuntu builds GitHub machines sometimes aren't immediately updated after Ubuntu repos update. That leads to failed CI builds due to inability to install some packages. Add a call to `apt update` to update the package database before installing anything. Signed-off-by: Alexander Amelkin --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55ff479..3260373 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ jobs: # as possible, hence these libraries. They aren't usually # needed for normal user builds: run: | + sudo apt update sudo apt install \ libsystemd-dev \ libreadline-dev \