Skip to content

Commit

Permalink
include date in cache key (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry authored Jan 9, 2024
1 parent b30891d commit 26b69ef
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 @@ -33,12 +33,17 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Get current date
id: date
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: kartograf
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 26b69ef

Please sign in to comment.