Skip to content

Commit 9315345

Browse files
committed
build(python): Dont upload pyodide wheel to PyPI
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent 1a0737b commit 9315345

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/python-release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,19 @@ jobs:
347347
name: "[Python] Release ${{ env.version }}"
348348
files: dist/**
349349

350+
- name: Remove PyOdide Wheel for PyPI
351+
run: |
352+
mkdir dist-for-pypi
353+
for file in dist/*; do
354+
if [[ "$file" != *"pyodide"* ]]; then
355+
cp "$file" dist-for-pypi/
356+
fi
357+
done
358+
350359
- name: Publish to PyPI
351360
env:
352361
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
353362
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
354363
run: |
355364
pip install --upgrade twine
356-
twine upload --skip-existing dist/*
365+
twine upload --skip-existing dist-for-pypi/*

0 commit comments

Comments
 (0)