Skip to content

Commit

Permalink
include date in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed Jan 4, 2024
1 parent 13af90b commit 3e02d41
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Get current date
id: date
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: devtools/conda-envs/espaloma.yaml
cache-environment: true
cache-downloads: true
cache-environment-key: environment-${{ steps.date.outputs.date }}
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
create-args: >-
python=${{ matrix.python-version }}
Expand Down

0 comments on commit 3e02d41

Please sign in to comment.