Skip to content

Commit d40642b

Browse files
committed
pypi won't accept pyodide builds. Let's try with anaconda
1 parent 51b0126 commit d40642b

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/pyodide_build.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,31 @@ jobs:
2626
path: ./wheelhouse/*.whl
2727
if-no-files-found: error
2828

29-
# Push to https://anaconda.org/scientific-python-nightly-wheels/numpy
30-
# WARNING: this job will overwrite any existing WASM wheels.
3129
upload-wheels:
32-
name: Upload WASM wheels to PyPI
30+
name: Upload WASM wheels to Anaconda
3331
runs-on: ubuntu-22.04
3432
permissions: {}
3533
needs: [build-wasm-emscripten]
3634

3735
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+
3847
- name: Download all the dists
3948
uses: actions/download-artifact@v4
4049
with:
4150
path: dist/
4251
merge-multiple: true
4352

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

0 commit comments

Comments
 (0)