From 687c39f6334b62206bebf9686e9b78cd59d82658 Mon Sep 17 00:00:00 2001 From: "Lanzrath, Hannah" Date: Fri, 6 Dec 2024 11:58:59 +0100 Subject: [PATCH] Compare runtinme only caching cadet-process --- .github/workflows/pipeline.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index df2f1429..f460415c 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -43,10 +43,9 @@ jobs: - name: Restore Conda Environment Cache uses: actions/cache@v4 with: - path: ${{ env.CONDA }}/envs + path: ${{ env.CONDA }}/envs/cadet-process key: ${{ env.CACHE_KEY}}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}-restore restore-keys: | - ${{ env.CACHE_KEY }}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}-restore ${{ env.CACHE_KEY }}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }} id: restore-cache @@ -65,7 +64,7 @@ jobs: - name: Cache Updated Conda Environment uses: actions/cache@v4 with: - path: ${{ env.CONDA }}/envs + path: ${{ env.CONDA }}/envs/cadet-process key: ${{ env.CACHE_KEY}}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}-save if: steps.restore-cache.outputs.cache-hit != 'true'