Skip to content

Commit

Permalink
use setup_micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry committed Aug 29, 2023
1 parent 19f5743 commit 4e272f5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:
# execute commands with conda aware shell by default:
defaults:
run:
shell: bash -l {0}
shell: bash -el {0}

jobs:
build:
Expand All @@ -47,11 +47,14 @@ jobs:
fetch-depth: 0 # Fetch all history for all tags and branches

- name: Setup Conda Environment
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v1.4.3
with:
environment-file: ./doc/rtd_environment.yml
environment-name: rtd
cache-env: true
init-shell: >-
bash
powershell
cache-environment: true

- name: activate build env
run: micromamba activate rtd
Expand Down

0 comments on commit 4e272f5

Please sign in to comment.