From 86b5a3c3455dcfe8af3146f69bc97f5698dcd3f7 Mon Sep 17 00:00:00 2001 From: "Patrou, Maria" Date: Mon, 3 Jun 2024 15:50:46 -0400 Subject: [PATCH] add cache number --- .github/workflows/garnetreduction.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/garnetreduction.yml b/.github/workflows/garnetreduction.yml index f3a0b66..897eafa 100644 --- a/.github/workflows/garnetreduction.yml +++ b/.github/workflows/garnetreduction.yml @@ -14,8 +14,12 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 - - uses: mamba-org/setup-micromamba@v1 + - uses: actions/checkout@v4 + - name: Cache conda + uses: actions/cache@v4 + env: + # Increase this value to reset cache if etc/example-environment.yml has not changed + CACHE_NUMBER: 2 with: environment-file: environment.yml cache-environment-key: ${{ runner.os }}-env-${{ hashFiles('**/environment.yml') }}