Skip to content

Commit b7c2640

Browse files
authored
Update deploy.yml
1 parent 4f0a889 commit b7c2640

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,28 @@ jobs:
7575
with:
7676
pattern: dist-*
7777
merge-multiple: true
78-
path: dist
78+
path: pypi_wheels
7979

8080
- name: Publish package to PyPI
8181
uses: pypa/gh-action-pypi-publish@release/v1
8282
with:
8383
user: __token__
8484
password: ${{ secrets.PYPI_API_TOKEN }}
85-
packages_dir: dist/
85+
packages_dir: pypi_wheels/
8686
skip_existing: true
87+
88+
release_wheels:
89+
name: Upload wheels to Release
90+
runs-on: ubuntu-latest
91+
needs: [ build_wheels,build_sdist,build_pyodide_wheel ]
92+
93+
steps:
94+
- uses: actions/download-artifact@v4
95+
with:
96+
merge-multiple: true
97+
path: all_wheels
98+
99+
- name: Publish wheels in release
100+
uses: softprops/action-gh-release@v2
101+
with:
102+
files: all_wheels/*

0 commit comments

Comments
 (0)