Skip to content

Commit

Permalink
CACHE_NUMBER to reset cache
Browse files Browse the repository at this point in the history
  • Loading branch information
karkir0003 committed Oct 7, 2023
1 parent d572d68 commit 62718f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,13 @@ jobs:
- name: Load Cached Mamba Env
id: cached-mamba-env
uses: actions/cache@v3
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: /usr/share/miniconda3/envs/dlp
key:
mamba-env-${{ runner.os }}-${{ hashFiles('**/training/environment.yml') }}
mamba-env-${{ runner.os }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('**/training/environment.yml') }}
restore-keys: mamba-env-${{ runner.os }}-


Expand Down

0 comments on commit 62718f3

Please sign in to comment.