From 93d6289c987a68c463079100c25d601e71153f2f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 20 Apr 2023 08:15:49 -0700 Subject: [PATCH] workflows/release-tasks: Always run apt-get update before installing deps There is a bug in the package tree of on the default images that causes some dependencies not to be found. Running apt-get gets us the latest package lists rather than relying on the default lists in the GitHub Runner imgae, which can be up to a week old. Running apt-get update before intstalling packages is also recommended in the official github documentation: https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D148741 --- .github/workflows/release-tasks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml index 7604679..0d250a6 100644 --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -26,6 +26,7 @@ jobs: - name: Install Dependencies run: | + sudo apt-get update \ sudo apt-get install -y \ doxygen \ graphviz \ -- 2.7.4