Skip to content

Commit 416c44e

Browse files
committed
specify environment in upload_windows step in conda package workflow
1 parent 5fa5f40 commit 416c44e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101

102102
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
103103
with:
104-
miniforge-variant: Miniforge3
105104
miniforge-version: latest
106105
activate-environment: build
107106
channels: conda-forge
@@ -466,6 +465,9 @@ jobs:
466465
(github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))
467466
runs-on: windows-latest
468467
timeout-minutes: 20
468+
defaults:
469+
run:
470+
shell: cmd /C CALL {0}
469471
strategy:
470472
matrix:
471473
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
@@ -486,7 +488,7 @@ jobs:
486488
channels: conda-forge
487489
conda-remove-defaults: true
488490
auto-activate: true
489-
activate-environment: base
491+
activate-environment: upload
490492

491493
- name: Install anaconda-client
492494
run: conda install anaconda-client -c conda-forge --override-channels

0 commit comments

Comments
 (0)