Skip to content

Commit

Permalink
Merge pull request #29 from OpenFreeEnergy/fix/conda_env_cache
Browse files Browse the repository at this point in the history
include date in cache key
  • Loading branch information
IAlibay authored Dec 3, 2024
2 parents 9db456f + f3a37f0 commit 1f1999d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,19 @@ jobs:
with:
fetch-depth: 0

- name: Get current date
id: date
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"

- name: "Setup Micromamba"
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: openfe_analysis_env
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 }}
init-shell: bash
Expand Down

0 comments on commit 1f1999d

Please sign in to comment.