From 6f75654b285db1404f1b39ee12646e2e9816fb5a Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Tue, 29 Aug 2023 13:10:05 -0700 Subject: [PATCH] github: Run 'apt-get update' before 'apt-get install' Ensure we have an up-to-date version of the package index before trying to install packages. Otherwise we may try to install an outdated version of something that has been deleted from Ubuntu's servers. Signed-off-by: Jason Gerecke --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b79cc311..78b7c1f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,7 @@ jobs: steps: - name: Install dependencies run: | + sudo apt-get update sudo apt-get install gcc-9-plugin-dev libelf-dev gcc -print-file-name=plugin