Skip to content

Commit f7bacb4

Browse files
authored
Merge pull request #326 from jgunstone/master
Fix CI
2 parents 3cdee8c + 49074f2 commit f7bacb4

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/build-docs.yml

+9-13
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,19 @@ jobs:
1515
run: |
1616
echo "Status: *release* $GITHUB_REF_NAME" > release.md
1717
18-
- name: Setup Mambaforge
19-
uses: conda-incubator/setup-miniconda@v2
18+
- name: setup-micromamba
19+
- uses: mamba-org/setup-micromamba@v2
2020
with:
21-
miniforge-variant: Mambaforge
22-
miniforge-version: latest
23-
activate-environment: bdns
24-
use-mamba: true
25-
26-
- name: Create environment
27-
run: mamba env update -n bdns -f environment.yml
28-
21+
environment-file: environment.yml
22+
init-shell: >-
23+
bash
24+
cache-environment: true
25+
post-cleanup: 'all'
2926
- name: Install tinytex
30-
shell: bash -l {0}
27+
shell: micromamba-shell {0}
3128
run: quarto install tinytex
32-
3329
- name: Build docs
34-
shell: bash -l {0}
30+
shell: micromamba-shell {0}
3531
run: quarto render .
3632

3733
- name: Push docs to gh-pages

0 commit comments

Comments
 (0)