gh-115383: Use runner version to compute config.cache key by colesbury · Pull Request #115409 · python/cpython
Our GitHub actions build caches the results of "configure" on macOS and Linux. Periodically, GitHub releases new images for their actions runners. This incorporates the runner's OS and image version to compute the config.cache restore key to avoid using a stale configure cache.
colesbury
changed the title
gh-115383: Use runner version to compute config cache key
gh-115383: Use runner version to compute config.cache key
Default environment variables like "ImageVersion" are not available through the env context. Unfortunately, ImageVersion is not available in the "github" context either so we manually re-add it to the environment as IMAGE_VERSION.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Feb 13, 2024…onGH-115409) (cherry picked from commit 4deb705) Co-authored-by: Sam Gross <colesbury@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters