[all-commits] [llvm/llvm-project] 464bda: workflows/release-tasks: Always run apt-get update...

Tom Stellard via All-commits all-commits at lists.llvm.org
Thu Apr 20 09:51:34 PDT 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 464bda7750a3ba9e23823fc707d7e7b6fc38438d
      https://github.com/llvm/llvm-project/commit/464bda7750a3ba9e23823fc707d7e7b6fc38438d
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M .github/workflows/release-tasks.yml

  Log Message:
  -----------
  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)




More information about the All-commits mailing list