Skip to content

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Oct 5, 2025

This removes the config.cache and ccache caches from GitHub Actions. Note that we still install and use ccache via posix-deps-apt.sh, so we will get the benefit from that still (if any), but we will no longer save it to the GHA cache.

A

@AA-Turner AA-Turner requested a review from mhsmith October 5, 2025 18:56
@AA-Turner AA-Turner changed the title GH-139596: Cease caching config.cache in GH Actions GH-139596: Cease caching config.cache & ccache in GH Actions Oct 5, 2025
@mhsmith
Copy link
Member

mhsmith commented Oct 6, 2025

For future reference:

with:
path: config.cache
# Include env.pythonLocation in key to avoid changes in environment when setup-python updates Python
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ needs.build-context.outputs.config-hash }}-${{ env.pythonLocation }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also remove config-hash from reusable-context.yml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants