Skip to content

Commit

Permalink
switch to Miniforge
Browse files Browse the repository at this point in the history
  • Loading branch information
YAY-C committed Dec 20, 2024
1 parent 36639a7 commit e7bbf4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-package-conda-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup Mambaforge
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: my-env
use-mamba: true

- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
Expand All @@ -54,7 +52,7 @@ jobs:
id: cache

- name: Update environment
run: mamba env update -n my-env -f environment.yml
run: conda env update -n my-env -f environment.yml
if: steps.cache.outputs.cache-hit != 'true'

- name: Run tests
Expand Down

0 comments on commit e7bbf4f

Please sign in to comment.