Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: more human-readable cache names #2426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adamjstewart
Copy link
Collaborator

@adamjstewart adamjstewart commented Nov 26, 2024

Before

/opt/hostedtoolcache/Python/3.12.7/x64-3b491464e61eae98f153313411700ba1d39523afb48d65a0fdbf87169a2fec47-0a9e6061bf3458e835d80bb55172c9774b8554394191affef6ca0e34adafd892-ed2c4866b3205f95957b20e49eb96607af97b6c1bba732783fcbe7fd9372df15

After

Linux-X64-Python-3.12.7-433dc1e38a445c7d575a66bbce5899ca3cfe8ded048b2f11c7c9304a919fd51c

@adamjstewart adamjstewart added this to the 0.6.2 milestone Nov 26, 2024
@github-actions github-actions bot added the testing Continuous integration testing label Nov 26, 2024
@@ -25,7 +26,7 @@ jobs:
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-integration
key: ${{ runner.os }}-${{ runner.arch }}-Python-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I would love to add OS version too, but I haven't yet figured out where to find that.

We need the full X.Y.Z Python version, X.Y is not sufficient.

@adamjstewart

This comment was marked as off-topic.

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

Successfully merging this pull request may close these issues.

1 participant