mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Invalidate CI cache when bumping dependencies (#62394)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
fc6c0b1d4a
commit
f14f0f93cb
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
@ -155,10 +155,15 @@ jobs:
|
|||||||
key: >-
|
key: >-
|
||||||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
|
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
|
||||||
steps.generate-python-key.outputs.key }}
|
steps.generate-python-key.outputs.key }}
|
||||||
restore-keys: |
|
# Temporary disabling the restore of environments when bumping
|
||||||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_test.txt') }}-
|
# a dependency. It seems that we are experiencing issues with
|
||||||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }}-
|
# restoring environments in GitHub Actions, although unclear why.
|
||||||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-
|
# First attempt: https://github.com/home-assistant/core/pull/62383
|
||||||
|
#
|
||||||
|
# restore-keys: |
|
||||||
|
# ${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_test.txt') }}-
|
||||||
|
# ${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }}-
|
||||||
|
# ${{ runner.os }}-${{ steps.python.outputs.python-version }}-base-venv-${{ env.CACHE_VERSION }}-
|
||||||
- name: Create Python virtual environment
|
- name: Create Python virtual environment
|
||||||
if: steps.cache-venv.outputs.cache-hit != 'true'
|
if: steps.cache-venv.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user