diff options
author | Tom Stellard <tstellar@redhat.com> | 2023-04-20 08:15:49 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2023-04-20 09:50:27 -0700 |
commit | 464bda7750a3ba9e23823fc707d7e7b6fc38438d (patch) | |
tree | fc20f734776009c9a18b60462739b27f416e1823 | |
parent | 64a7c127cea8462f399e55e766cc522402ab00e2 (diff) | |
download | llvm-464bda7750a3ba9e23823fc707d7e7b6fc38438d.tar.gz |
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
(cherry picked from commit 93d6289c987a68c463079100c25d601e71153f2f)
-rw-r--r-- | .github/workflows/release-tasks.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/release-tasks.yml b/.github/workflows/release-tasks.yml index 71de6b29b775..6627aee6082b 100644 --- a/.github/workflows/release-tasks.yml +++ b/.github/workflows/release-tasks.yml @@ -22,6 +22,7 @@ jobs: - name: Install Dependencies run: | + sudo apt-get update \ sudo apt-get install -y \ doxygen \ graphviz \ |