File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,31 @@ jobs:
26
26
path : ./wheelhouse/*.whl
27
27
if-no-files-found : error
28
28
29
- # Push to https://anaconda.org/scientific-python-nightly-wheels/numpy
30
- # WARNING: this job will overwrite any existing WASM wheels.
31
29
upload-wheels :
32
- name : Upload WASM wheels to PyPI
30
+ name : Upload WASM wheels to Anaconda
33
31
runs-on : ubuntu-22.04
34
32
permissions : {}
35
33
needs : [build-wasm-emscripten]
36
34
37
35
steps :
36
+ - uses : conda-incubator/setup-miniconda@v3
37
+ with :
38
+ miniconda-version : " latest"
39
+ activate-environment : ../deploy-env
40
+ python-version : " 3.13"
41
+
42
+ - name : Install anaconda-client
43
+ shell : bash -l {0}
44
+ run : |
45
+ conda install anaconda-client -c conda-forge
46
+
38
47
- name : Download all the dists
39
48
uses : actions/download-artifact@v4
40
49
with :
41
50
path : dist/
42
51
merge-multiple : true
43
52
44
- - name : Publish distribution 📦 to PyPI
45
- uses : pypa/gh-action-pypi-publish@release/v1
46
- with :
47
- password : ${{ secrets.PUBLIC_PYPI_API_TOKEN }}
48
- skip_existing : true
53
+ - name : Upload wheel to conda
54
+ shell : bash -l {0}
55
+ run : |
56
+ anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera dist/moleculekit-*.whl
You can’t perform that action at this time.
0 commit comments