From f02341878ddb532c60bba151d8b6d2e255cf421e Mon Sep 17 00:00:00 2001 From: Johannes Karwounopoulos <72743318+JohannesKarwou@users.noreply.github.com> Date: Thu, 6 Jun 2024 21:45:36 +0200 Subject: [PATCH] Update build_page.yaml --- .github/workflows/build_page.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_page.yaml b/.github/workflows/build_page.yaml index 7b247242..b545ce9b 100644 --- a/.github/workflows/build_page.yaml +++ b/.github/workflows/build_page.yaml @@ -40,11 +40,11 @@ jobs: - name: Set cache date run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV -# - uses: actions/cache@v2 -# with: -# path: ${{ matrix.prefix }} -# key: ${{ matrix.label }}-conda-${{ hashFiles('devtools/conda-envs/fep_env.yaml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }} -# id: cache + - uses: actions/cache@v2 + with: + path: ${{ matrix.prefix }} + key: ${{ matrix.label }}-conda-${{ hashFiles('devtools/conda-envs/fep_env.yaml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }} + id: cache - name: Update environment run: mamba env update -n fep -f devtools/conda-envs/fep_env.yaml if: steps.cache.outputs.cache-hit != 'true'