Skip to content

Commit 4c59ae8

Browse files
committed
change log
Update action configuration.
1 parent 1b283b9 commit 4c59ae8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/python-wheel-package.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,29 @@ jobs:
3131
name: ${{ matrix.python }}-${{ matrix.platform[1] }}
3232
path: ./wheelhouse/*.whl
3333

34+
pypi-publish:
35+
name: Upload package to pypi
36+
runs-on: ubuntu-latest
37+
38+
strategy:
39+
matrix:
40+
platform:
41+
- [ windows-latest, win_amd64]
42+
- [ windows-latest, win32]
43+
python: ["cp310", "cp311", "cp312", "cp313"]
44+
45+
needs:
46+
- build-wheel
47+
permissions:
48+
id-token: write
49+
50+
steps:
51+
- name: Retrieve release distributions
52+
uses: actions/download-artifact@v4
53+
with:
54+
name: ${{ matrix.python }}-${{ matrix.platform[1] }}
55+
path: ./wheelhouse
56+
3457
- name: Publish release distributions to PyPI
3558
uses: pypa/gh-action-pypi-publish@release/v1.12
3659
with:

0 commit comments

Comments
 (0)