From 313abbf50fdc3da8ea53bc931a4531663709724f Mon Sep 17 00:00:00 2001 From: karliss Date: Thu, 16 Jul 2020 13:40:26 +0300 Subject: [PATCH] Run apt update to refresh package list. (#2291) It seems that github action VMs have cached bad package list. --- .github/workflows/ccpp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 6b2fd54f..538e44d7 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -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