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:24 +0100 |
commit | 35a3535c75889666ce9d4e97deb623ebe04ced56 (patch) | |
tree | 77862154b5e6184bfbbbc88359e32dbb80f3ccee | |
parent | e7b59cae37fa35be8c89ee15774b651272882130 (diff) | |
download | openvswitch-35a3535c75889666ce9d4e97deb623ebe04ced56.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 b30eb4d08..292c08c17 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 }} |