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:
parent
e682b02084
commit
9d620630ea
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user