Skip to content

Commit ad5dcb9

Browse files
committed
Use miniconda conda anaconda-client
1 parent 95a05b1 commit ad5dcb9

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,20 @@ jobs:
155155
- uses: actions/download-artifact@v3
156156
- name: Verify files
157157
run: ls -LR
158-
- name: Sign into anaconda and upload
158+
159+
- name: Add conda to PATH
160+
shell: bash
161+
run: echo "$CONDA/bin" >> $GITHUB_PATH
162+
163+
- name: "Creating updated environment with conda-build..."
164+
shell: bash
159165
run: |
160-
pip3 uninstall urllib3 && pip3 install --upgrade urllib3
161-
pip3 install --upgrade requests
162-
pip3 install anaconda-client
166+
source activate
167+
conda update --yes conda
168+
conda install --yes anaconda-client
163169
170+
- name: Sign into anaconda and upload
171+
run: |
164172
anaconda upload --force --no-progress --user ${ANACONDA_ORGANIZATION} --label ${ANACONDA_LABEL} ./artifact/*/*.tar.bz2
165173
env:
166174
ANACONDA_ORGANIZATION: simpleitk

0 commit comments

Comments
 (0)