From 686daaed85287579c9eda993b86155907f86736e Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Mon, 8 Jun 2026 11:45:35 +0000 Subject: [PATCH] Combine hash --- .github/workflows/ci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 624d48f58e26..6d602df48a29 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -104,12 +104,11 @@ jobs: - name: Generate partial Python venv restore key id: generate_python_cache_key env: - HASH_REQUIREMENTS_CI_LOCK: ${{ hashFiles('requirements_ci.lock') }} - HASH_GEN_REQUIREMENTS: ${{ hashFiles('script/gen_requirements_all.py') }} + HASH_FILES: ${{ hashFiles('requirements_ci.lock', 'script/gen_requirements_all.py') }} run: | # Include HA_SHORT_VERSION to force the immediate creation # of a new uv cache entry after a version bump. - echo "key=venv-${CACHE_VERSION}-${HA_SHORT_VERSION}-${HASH_REQUIREMENTS_CI_LOCK}-${HASH_GEN_REQUIREMENTS}" >> $GITHUB_OUTPUT + echo "key=venv-${CACHE_VERSION}-${HA_SHORT_VERSION}-${HASH_FILES}" >> $GITHUB_OUTPUT - name: Filter for core changes uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: core