Run apt update to refresh package list. (#2291)

It seems that github action VMs have cached bad package list.
This commit is contained in:
karliss 2020-07-16 13:40:26 +03:00 committed by GitHub
parent e5d7bd660a
commit 313abbf50f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,12 @@ jobs:
- name: apt dependencies
if: contains(matrix.os, 'ubuntu')
run: |
if [[ "${{ matrix.os }}" = "ubuntu-18.04" ]]
then
# github action VMs currently have broken package list causing install to fail, run update to refresh it
# remove this once fixed
sudo apt-get update
fi
sudo apt-get install libgraphviz-dev mesa-common-dev
if [[ "${{ matrix.os }}" = "ubuntu-16.04" ]]
then