Skip to content

Commit 4c2cf7a

Browse files
committed
use scientific-python action to upload to ananconda.org
1 parent a90f692 commit 4c2cf7a

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

.github/workflows/posix.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,8 @@ jobs:
123123
name: wheels-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}-${{ matrix.MB_ML_VER }}
124124
path: dist/scipy_openblas*.whl
125125

126-
127-
- uses: conda-incubator/setup-miniconda@v4.0.1
126+
- name: Upload to ananconda.org
127+
uses: scientific-python/upload-nightly-action@0.6.4
128128
with:
129-
channels: conda-forge
130-
channel-priority: true
131-
activate-environment: upload
132-
miniforge-version: latest
133-
conda-remove-defaults: "true"
134-
135-
- name: Upload
136-
# see https://github.com/marketplace/actions/setup-miniconda for why
137-
# `-el {0}` is required.
138-
shell: bash -el {0}
139-
env:
140-
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
141-
run: |
142-
conda install -y anaconda-client
143-
source tools/upload_to_anaconda_staging.sh
144-
upload_wheels
129+
artifacts_path: dist
130+
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}

0 commit comments

Comments
 (0)