mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add HA version to cache key (#116159)
* Add HA version to cache key * Add comment
This commit is contained in:
parent
09ebbfa0e1
commit
4a79e750a1
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -92,8 +92,10 @@ jobs:
|
||||
uses: actions/checkout@v4.1.4
|
||||
- name: Generate partial Python venv restore key
|
||||
id: generate_python_cache_key
|
||||
run: >-
|
||||
echo "key=venv-${{ env.CACHE_VERSION }}-${{
|
||||
run: |
|
||||
# Include HA_SHORT_VERSION to force the immediate creation
|
||||
# of a new uv cache entry after a version bump.
|
||||
echo "key=venv-${{ env.CACHE_VERSION }}-${{ env.HA_SHORT_VERSION }}-${{
|
||||
hashFiles('requirements_test.txt', 'requirements_test_pre_commit.txt') }}-${{
|
||||
hashFiles('requirements.txt') }}-${{
|
||||
hashFiles('requirements_all.txt') }}-${{
|
||||
|
Loading…
x
Reference in New Issue
Block a user