summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Amelkin <alexander@amelkin.msk.ru>2021-04-17 01:59:48 +0300
committerAlexander Amelkin <mocbuhtig@amelkin.msk.ru>2021-04-21 13:24:43 +0300
commit6a3ded733306e12df8b2a8cc1c33dc03448fbee0 (patch)
treefbd931bf6d71865a74722d70a091151790aef821
parent61bb233c5bdf3d756f7b284110c3ebb67fbb7517 (diff)
downloadipmitool-6a3ded733306e12df8b2a8cc1c33dc03448fbee0.tar.gz
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>
-rw-r--r--.github/workflows/ci.yml1
1 files changed, 1 insertions, 0 deletions
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 \