Skip to content

Commit 6bc83f3

Browse files
Activate conda before conda search
1 parent af01fb8 commit 6bc83f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,16 @@ jobs:
249249
shell: pwsh
250250
run: |
251251
echo "CHANNELS=-c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels" >> $env:GITHUB_ENV
252+
252253
- name: Display channels line
253254
run: |
254255
echo ${{ env.CHANNELS }}
256+
255257
- name: Download artifact
256258
uses: actions/download-artifact@v4
257259
with:
258260
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
261+
259262
- uses: conda-incubator/setup-miniconda@v3
260263
with:
261264
miniforge-variant: Miniforge3
@@ -272,6 +275,7 @@ jobs:
272275
- name: Create conda channel with the artifact bit
273276
shell: cmd /C CALL {0}
274277
run: |
278+
@echo on
275279
echo ${{ env.workdir }}
276280
mkdir ${{ env.workdir }}\channel\win-64
277281
move ${{ env.PACKAGE_NAME }}-*.tar.bz2 ${{ env.workdir }}\channel\win-64
@@ -280,12 +284,15 @@ jobs:
280284
- name: Index the channel
281285
shell: cmd /C CALL {0}
282286
run: |
287+
@echo on
283288
conda activate
284289
conda index ${{ env.workdir }}\channel
285290
286291
- name: Dump dpctl version info from created channel into ver.json
287292
shell: cmd /C CALL {0}
288293
run: |
294+
@echo on
295+
conda activate
289296
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
290297
291298
- name: Output content of produced ver.json

0 commit comments

Comments
 (0)