Skip to content

Commit 1ce7799

Browse files
ricardoV94michaelosthege
authored andcommitted
Use CACHE_NUMBER in Cache multiple paths as advertised in comment
1 parent ebb1f0e commit 1ce7799

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
~/.cache/pip
106106
$RUNNER_TOOL_CACHE/Python/*
107107
~\AppData\Local\pip\Cache
108-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
108+
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
109109
hashFiles('requirements.txt') }}
110110
- uses: conda-incubator/setup-miniconda@v2
111111
with:
@@ -175,7 +175,7 @@ jobs:
175175
~/.cache/pip
176176
$RUNNER_TOOL_CACHE/Python/*
177177
~\AppData\Local\pip\Cache
178-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
178+
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
179179
hashFiles('requirements.txt') }}
180180
- uses: conda-incubator/setup-miniconda@v2
181181
with:
@@ -253,7 +253,7 @@ jobs:
253253
~/.cache/pip
254254
$RUNNER_TOOL_CACHE/Python/*
255255
~\AppData\Local\pip\Cache
256-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
256+
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
257257
hashFiles('requirements.txt') }}
258258
- uses: conda-incubator/setup-miniconda@v2
259259
with:
@@ -317,7 +317,7 @@ jobs:
317317
~/.cache/pip
318318
$RUNNER_TOOL_CACHE/Python/*
319319
~\AppData\Local\pip\Cache
320-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
320+
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
321321
hashFiles('requirements.txt') }}
322322
- uses: conda-incubator/setup-miniconda@v2
323323
with:
@@ -386,7 +386,7 @@ jobs:
386386
~/.cache/pip
387387
$RUNNER_TOOL_CACHE/Python/*
388388
~\AppData\Local\pip\Cache
389-
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{
389+
key: ${{ runner.os }}-build-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
390390
hashFiles('requirements.txt') }}
391391
- uses: conda-incubator/setup-miniconda@v2
392392
with:

0 commit comments

Comments
 (0)