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] [GHA] Setup pip cache directory per Python on Windows; do not use cache for setup-python action #28015

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akashchi
Copy link
Contributor

Tickets:

  • 155118
  • 158400
  • 158574
  • 159198

@akashchi akashchi added the WIP work in progress label Dec 11, 2024
@akashchi akashchi added this to the 2025.0 milestone Dec 11, 2024
@github-actions github-actions bot added category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code labels Dec 11, 2024
Comment on lines -62 to -63
env:
PIP_CACHE_DIR: ${{ inputs.self-hosted-runner == 'true' && inputs.pip-cache-path || '' }}
Copy link
Contributor Author

@akashchi akashchi Dec 11, 2024

Choose a reason for hiding this comment

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

As we do not know the pip version the action will install, we should not just pass the inputs.pip-cache-path because it can corrupt the cache in there as they are not separated per the pip version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant