Skip to content

Commit c3b3fb0

Browse files
committed
Merge branch 'master' into feature/enable-free-threaded-python
2 parents 5cdd2f0 + 0a329ef commit c3b3fb0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ jobs:
117117
with:
118118
miniforge-variant: Miniforge3
119119
miniforge-version: latest
120-
activate-environment: build
120+
auto-activate: true
121+
activate-environment: base
121122
channels: conda-forge
122123
conda-remove-defaults: true
123124
python-version: ${{ matrix.python }}
124125

125126
- name: Install conda build
126127
run: |
127-
conda activate
128-
conda install -y conda-build
128+
conda install -n base -y conda-build
129129
conda list -n base
130130
131131
- name: Cache conda packages
@@ -150,7 +150,6 @@ jobs:
150150
env:
151151
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
152152
run: |
153-
conda activate
154153
# TODO: roll back use of Intel channel when 2025.1 is available on conda-forge
155154
$PYTHON_SPEC = "${{ matrix.python_spec }}"
156155
if ($PYTHON_SPEC -ne "") {
@@ -538,8 +537,8 @@ jobs:
538537
miniforge-version: latest
539538
channels: conda-forge
540539
conda-remove-defaults: true
541-
auto-activate-base: true
542-
activate-environment: ""
540+
auto-activate: true
541+
activate-environment: base
543542

544543
- name: Install anaconda-client
545544
run: conda install anaconda-client -c conda-forge --override-channels

0 commit comments

Comments
 (0)