2
0
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:
David Marchand
2020-12-19 09:40:30 +01:00
committed by Ilya Maximets
parent 2653155874
commit 02f76fb42a

View File

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