This is an archive of the discontinued LLVM Phabricator instance.

workflows/release-tasks: Always run apt-get update before installing deps
ClosedPublic

Authored by tstellar on Apr 19 2023, 1:17 PM.

Details

Summary

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

Diff Detail

Event Timeline

tstellar created this revision.Apr 19 2023, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 1:17 PM
tstellar requested review of this revision.Apr 19 2023, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 1:17 PM
tstellar retitled this revision from workflows/release-tasks: Always run apt-get update before insalling deps to workflows/release-tasks: Always run apt-get update before installing deps.Apr 20 2023, 7:21 AM
thieta accepted this revision.Apr 20 2023, 7:22 AM
This revision is now accepted and ready to land.Apr 20 2023, 7:22 AM
This revision was landed with ongoing or failed builds.Apr 20 2023, 8:16 AM
This revision was automatically updated to reflect the committed changes.