From ff3949a67be3790d044da5ac4cae48b6dd154d78 Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Thu, 8 Jun 2023 13:41:09 -0400 Subject: [PATCH] minor fix for cache key --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f13c8fb..ad57406 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -173,9 +173,9 @@ jobs: python=${{ matrix.python-version }} conda cache-environment: true - cache-environment-key: cache-environment-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('environment.yaml') }} + cache-environment-key: cache-environment-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('stenv/environment.yaml') }} cache-downloads: true - cache-downloads-key: cache-downloads-${{ runner.os}}-${{ runner.arch}}-${{ hashFiles('environment.yaml') }} + cache-downloads-key: cache-downloads-${{ runner.os}}-${{ runner.arch}}-${{ hashFiles('stenv/environment.yaml') }} init-shell: none generate-run-shell: true - run: echo "version=$(conda list | awk '$1 == "${{ matrix.package }}" {print $2}')" >> $GITHUB_OUTPUT