Skip to content

Commit e3d2683

Browse files
Diptorup DebZzEeKkAa
andcommitted
Use conda-index & python -m conda_index instead of conda index
Co-authored-by: Yevhenii Havrylko <[email protected]>
1 parent 0c3fb55 commit e3d2683

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
@@ -153,11 +153,13 @@ jobs:
153153
154154
- name: Install conda build
155155
run: |
156-
mamba install conda-build
156+
mamba install conda-build conda-index
157157
158158
- name: Create conda channel
159+
# Note conda index (instead of python -m conda_index) may find legacy
160+
# conda-build index.
159161
run: |
160-
conda index ${{ env.CHANNEL_PATH }}
162+
python -m conda_index ${{ env.CHANNEL_PATH }}
161163
162164
- name: Test conda channel
163165
run: |

0 commit comments

Comments
 (0)