Skip to content

Commit 8e34b9d

Browse files
committed
fix cache key?
1 parent baeb8e8 commit 8e34b9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,22 +175,22 @@ jobs:
175175
run: |
176176
pyright --version
177177
pyright -p pyproject.toml --pythonversion ${{ matrix.python-version }}
178-
- name: Restore bioimageio cache ${{matrix.run-expensive-tests && needs.populate-cache.outputs.cache-key}}
178+
- name: Restore bioimageio cache ${{needs.populate-cache.outputs.cache-key}}
179179
uses: actions/cache/restore@v4
180180
with:
181181
path: bioimageio_cache
182-
key: ${{matrix.run-expensive-tests && needs.populate-cache.outputs.cache-key}}
182+
key: ${{needs.populate-cache.outputs.cache-key}}
183183
- name: pytest
184184
run: pytest --cov bioimageio --cov-report xml --cov-append --capture no --disable-pytest-warnings
185185
env:
186186
BIOIMAGEIO_CACHE_PATH: bioimageio_cache
187187
RUN_EXPENSIVE_TESTS: ${{ matrix.run-expensive-tests && 'true' || 'false' }}
188-
- name: Save bioimageio cache ${{matrix.run-expensive-tests && needs.populate-cache.outputs.cache-key}}
188+
- name: Save bioimageio cache ${{needs.populate-cache.outputs.cache-key}}
189189
if: matrix.save-cache
190190
uses: actions/cache/save@v4
191191
with:
192192
path: bioimageio_cache
193-
key: ${{matrix.run-expensive-tests && needs.populate-cache.outputs.cache-key}}
193+
key: ${{needs.populate-cache.outputs.cache-key}}
194194

195195
- if: matrix.report-coverage && github.event_name == 'pull_request'
196196
uses: orgoro/[email protected]

0 commit comments

Comments
 (0)