mirror of
https://github.com/openvswitch/ovs
synced 2025-09-03 15:55:19 +00:00
github: Fix Ubuntu package installation.
Before trying to install a package, APT cache must be updated to avoid
asking for an unavailable version of a package.
Fixes: 6cb2f5a630
("github: Add GitHub Actions workflow.")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
2653155874
commit
02f76fb42a
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@@ -133,6 +133,8 @@ jobs:
|
||||
path: dpdk-dir
|
||||
key: ${{ env.matrix_key }}-${{ env.ci_key }}
|
||||
|
||||
- name: update APT cache
|
||||
run: sudo apt update
|
||||
- name: install common dependencies
|
||||
if: matrix.deb_package == ''
|
||||
run: sudo apt install -y ${{ env.dependencies }}
|
||||
|
Reference in New Issue
Block a user