Skip to content

Commit 5fa5f40

Browse files
committed
setup shell in build_windows step
drops conda activate commands
1 parent 48319d7 commit 5fa5f40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
build_windows:
8383
runs-on: windows-latest
8484
timeout-minutes: 150
85+
defaults:
86+
run:
87+
shell: cmd /C CALL {0}
8588

8689
strategy:
8790
matrix:
@@ -107,7 +110,6 @@ jobs:
107110

108111
- name: Install conda build
109112
run: |
110-
conda activate
111113
conda install -y conda-build
112114
conda list -n base
113115
@@ -133,7 +135,6 @@ jobs:
133135
env:
134136
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
135137
run: |
136-
conda activate
137138
# TODO: roll back use of Intel channel when 2025.1 is available on conda-forge
138139
conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
139140

0 commit comments

Comments
 (0)