ci: fix package installation in GitHub Actions

APT cache must be updated to avoid trying to install an unavailable
version of a package.

Fixes: 87009585e2 ("ci: hook to GitHub Actions")

Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
David Marchand 2020-12-19 09:05:33 +01:00
parent e682b02084
commit 9d620630ea

View File

@ -87,6 +87,8 @@ jobs:
with: with:
path: reference path: reference
key: ${{ steps.get_ref_keys.outputs.abi }} key: ${{ steps.get_ref_keys.outputs.abi }}
- name: Update APT cache
run: sudo apt update
- name: Install packages - name: Install packages
run: sudo apt install -y ccache libnuma-dev python3-setuptools run: sudo apt install -y ccache libnuma-dev python3-setuptools
python3-wheel python3-pip ninja-build libbsd-dev libpcap-dev python3-wheel python3-pip ninja-build libbsd-dev libpcap-dev