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

Tom Stellard via All-commits all-commits at lists.llvm.org
Thu Apr 20 08:16:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93d6289c987a68c463079100c25d601e71153f2f
      https://github.com/llvm/llvm-project/commit/93d6289c987a68c463079100c25d601e71153f2f
  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




More information about the All-commits mailing list