diff options
author | David Marchand <david.marchand@redhat.com> | 2020-12-19 09:40:30 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-12-21 15:49:36 +0100 |
commit | 02f76fb42ae93ecf17dcf012908733dd2d3df2cd (patch) | |
tree | 15d8e6075baaf6318ffd35088f0d58007c0a22dc /.github/workflows | |
parent | 26531558744096ac9cba5c43b0c1571ee8b8d691 (diff) | |
download | openvswitch-02f76fb42ae93ecf17dcf012908733dd2d3df2cd.tar.gz |
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: 6cb2f5a630e3 ("github: Add GitHub Actions workflow.")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-and-test.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c83066138..b29c300c5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 }} |