Skip to content

Commit ec59bc4

Browse files
committed
install conda-build into base environment rather than build
conda recommends that conda-build is installed in the base environment due to plugin compatibility. See conda docs
1 parent 7f90c80 commit ec59bc4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,11 @@ jobs:
104104
miniforge-version: latest
105105
activate-environment: build
106106
channels: conda-forge
107-
conda-remove-defaults: true
108107
python-version: ${{ matrix.python }}
109108

110109
- name: Install conda build
111110
run: |
112-
conda install -y conda-build
111+
conda install -n base -y conda-build
113112
conda list -n base
114113
115114
- name: Cache conda packages
@@ -278,7 +277,6 @@ jobs:
278277
with:
279278
miniforge-version: latest
280279
channels: conda-forge
281-
conda-remove-defaults: true
282280
activate-environment: ${{ env.TEST_ENV_NAME }}
283281
python-version: ${{ matrix.python }}
284282

@@ -486,7 +484,6 @@ jobs:
486484
with:
487485
miniforge-version: latest
488486
channels: conda-forge
489-
conda-remove-defaults: true
490487
activate-environment: upload
491488

492489
- name: Install anaconda-client
@@ -830,7 +827,6 @@ jobs:
830827
run-post: false
831828
channel-priority: "disabled"
832829
channels: conda-forge
833-
conda-remove-defaults: true
834830
python-version: '3.11'
835831

836832
- name: Install anaconda-client

0 commit comments

Comments
 (0)