Skip to content

Commit 5de1dfa

Browse files
committed
port ci updates to docs build, set sphinx to older, compatible version
1 parent 60c4125 commit 5de1dfa

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/docs.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git config --global user.email "github-actions@github.com"
2323
2424
- name: Clone RMG-Py
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828

@@ -32,23 +32,24 @@ jobs:
3232
environment-file: environment.yml
3333
miniforge-variant: Miniforge3
3434
miniforge-version: latest
35-
python-version: 3.9
35+
python-version: "3.9"
3636
activate-environment: rmg_env
37-
use-mamba: true
37+
auto-update-conda: true
3838
show-channel-urls: true
39+
conda-remove-defaults: "true"
3940

4041
- name: Make libtiff Symlink to Avoid Runner Bug
4142
run: | # This action may need to be removed/adjusted in future runs.
4243
if [ ! -f /usr/lib/x86_64-linux-gnu/libtiff.so.5 ] && [ -f /usr/lib/x86_64-linux-gnu/libtiff.so.6 ]; then sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5; fi
4344
find /usr/lib -name libtiff*
4445
4546
- name: Install sphinx
46-
run: mamba install -y sphinx
47+
run: conda install -y sphinx~=5.0
4748

48-
- name: Mamba info
49+
- name: conda info
4950
run: |
50-
mamba info
51-
mamba list
51+
conda info
52+
conda list
5253
5354
- name: Clone RMG-database
5455
run: |

0 commit comments

Comments
 (0)