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 <alexander@amelkin.msk.ru>
This commit is contained in:
Alexander Amelkin 2021-04-17 01:59:48 +03:00
parent e6632dcf43
commit 8554e19e68
No known key found for this signature in database
GPG Key ID: E893587B5B74178D

View File

@ -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 \