Skip to content

Commit 9b3341a

Browse files
Merge pull request #1898 from IntelPython/maint-conda-package-workflow-file
Address CI warnings to not use nodefaults channel
2 parents d6b6aa5 + 60da3e7 commit 9b3341a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ jobs:
9191
miniforge-variant: Miniforge3
9292
miniforge-version: latest
9393
activate-environment: build
94-
channels: conda-forge,nodefaults
94+
channels: conda-forge
95+
conda-remove-defaults: true
9596
python-version: ${{ matrix.python }}
9697

9798
- name: Install conda build
@@ -263,7 +264,8 @@ jobs:
263264
- uses: conda-incubator/setup-miniconda@v3
264265
with:
265266
miniforge-version: latest
266-
channels: conda-forge,nodefaults
267+
channels: conda-forge
268+
conda-remove-defaults: true
267269
activate-environment: ${{ env.TEST_ENV_NAME }}
268270
python-version: ${{ matrix.python }}
269271

@@ -457,6 +459,9 @@ jobs:
457459

458460
- uses: conda-incubator/setup-miniconda@v3
459461
with:
462+
miniforge-version: latest
463+
channels: conda-forge
464+
conda-remove-defaults: true
460465
auto-activate-base: true
461466
activate-environment: ""
462467

@@ -800,7 +805,8 @@ jobs:
800805
with:
801806
run-post: false
802807
channel-priority: "disabled"
803-
channels: conda-forge,nodefaults
808+
channels: conda-forge
809+
conda-remove-defaults: true
804810
python-version: '3.11'
805811

806812
- name: Install anaconda-client

0 commit comments

Comments
 (0)