[PATCH] D148741: workflows/release-tasks: Always run apt-get update before insalling deps
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 13:17:28 PDT 2023
tstellar created this revision.
tstellar added a reviewer: thieta.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148741
Files:
.github/workflows/release-tasks.yml
Index: .github/workflows/release-tasks.yml
===================================================================
--- .github/workflows/release-tasks.yml
+++ .github/workflows/release-tasks.yml
@@ -26,6 +26,7 @@
- name: Install Dependencies
run: |
+ sudo apt-get update \
sudo apt-get install -y \
doxygen \
graphviz \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148741.515065.patch
Type: text/x-patch
Size: 384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/7f6f5f82/attachment.bin>
More information about the llvm-commits
mailing list