Skip to content

Commit

Permalink
github: Fix Ubuntu package installation.
Browse files Browse the repository at this point in the history
Before trying to install a package, APT cache must be updated to avoid
asking for an unavailable version of a package.

Fixes: 6cb2f5a ("github: Add GitHub Actions workflow.")
Signed-off-by: David Marchand <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
david-marchand authored and igsilya committed Dec 21, 2020
1 parent 2653155 commit 02f76fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 02f76fb

Please sign in to comment.