diff options
author | David Marchand <david.marchand@redhat.com> | 2020-12-19 09:40:30 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2021-01-21 16:02:23 +0100 |
commit | 024bfe39ac5e56f25bbeea640b8f632da78a75fe (patch) | |
tree | 2fa45c358e845ce36b5fc6277d28021e18c27a84 | |
parent | 757b1905fc311bb005d593efc786f53414358a14 (diff) | |
download | openvswitch-024bfe39ac5e56f25bbeea640b8f632da78a75fe.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>
-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 e21dffaee..4f66d28ec 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -81,6 +81,8 @@ jobs: - name: checkout uses: actions/checkout@v2 + - name: update APT cache + run: sudo apt update || true - name: install common dependencies run: sudo apt install -y ${{ env.dependencies }} |