From 1bbcc57c0e422351d3b5ec28673aa0c1c9fdb075 Mon Sep 17 00:00:00 2001 From: William Black <125844868+smokestacklightnin@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:39:09 -0700 Subject: [PATCH] Fix caching name to install correct environment for tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8658e258..4ce95908 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,7 +52,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ matrix.prefix }} - key: conda-${{ matrix.label }}-${{ hashFiles('conda-${{ matrix.label }}.lock') }}-${{ env.CACHE_NUMBER }} + key: conda-${{ matrix.label }}-${{ hashFiles(format('conda-{0}}.lock', matrix.label)) }}-${{ env.CACHE_NUMBER }} id: cache-conda - name: Update Conda Environment