Skip to content

Commit ac79ea6

Browse files
Triaging absence of ver.json
1 parent e0bd0d7 commit ac79ea6

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,25 @@ jobs:
199199
- name: Install conda-build
200200
shell: cmd /C CALL {0}
201201
# Needed to be able to run conda index
202-
run: conda install conda-build
203-
- name: Create conda channel
202+
run: conda create -n index conda-build
203+
- name: Create conda channel with the artifact bit
204204
shell: cmd /C CALL {0}
205205
run: |
206206
echo ${{ env.workdir }}
207207
mkdir ${{ env.workdir }}\channel\win-64
208208
move ${{ env.PACKAGE_NAME }}-*.tar.bz2 ${{ env.workdir }}\channel\win-64
209-
conda index ${{ env.workdir }}/channel
209+
conda activate index
210+
conda list
211+
conda index ${{ env.workdir }}\channel
212+
echo %errorlevel%
213+
dir ${{ env.workdir }}\channel\win-64
214+
- name: Dump dpctl version info from created channel
215+
shell: cmd /C CALL {0}
216+
run: |
210217
# Test channel
218+
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json
211219
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
220+
dir ${{ env.workdir }}
212221
type ${{ env.workdir }}\ver.json
213222
- name: Collect dependencies
214223
shell: cmd /C CALL {0}

0 commit comments

Comments
 (0)