Skip to content

Commit 464bda7

Browse files
committed
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 93d6289)
1 parent 64a7c12 commit 464bda7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
2323
- name: Install Dependencies
2424
run: |
25+
sudo apt-get update \
2526
sudo apt-get install -y \
2627
doxygen \
2728
graphviz \

0 commit comments

Comments
 (0)