From 3f3e684811e4e8cafb3cc7e275366e6b887246b0 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Wed, 3 Sep 2025 10:42:22 -0700 Subject: [PATCH] only update conda env if cache was not hit --- .github/workflows/central-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/central-controller.yaml b/.github/workflows/central-controller.yaml index 1d16ef150..39ce3a87b 100644 --- a/.github/workflows/central-controller.yaml +++ b/.github/workflows/central-controller.yaml @@ -26,6 +26,7 @@ jobs: path: ${{ env.CONDA }}/envs key: ${{ runner.os }}-${{ runner.arch }}-${{ github.ref_name }}-conda-${{ hashFiles('environment.yml') }} - name: Update Conda Environment + if: steps.cache.outputs.cache-hit != 'true' run: | source ~/miniconda3/etc/profile.d/conda.sh conda env update --file environment.yml