Skip to content

Commit 36adc68

Browse files
authored
Remove the defaults channel when setting up Miniforge (#609)
Explicitly remove the `defaults` channel when setting up Miniforge in the GitHub Action that builds the documentation. This way we ensure that we are using only `conda-forge` to download the required packages.
1 parent fbbe549 commit 36adc68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ jobs:
5858
- name: Fetch git tags
5959
run: git fetch origin 'refs/tags/*:refs/tags/*'
6060

61-
- name: Setup Miniconda
61+
- name: Setup Miniforge
6262
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f
6363
with:
6464
python-version: ${{ env.PYTHON }}
6565
miniforge-version: latest
6666
channels: conda-forge
67+
conda-remove-defaults: "true"
6768

6869
- name: Collect requirements
6970
run: |

0 commit comments

Comments
 (0)