Skip to content

Commit d7b5fd9

Browse files
committed
Add PyPI upload workflow
1 parent 8d7b406 commit d7b5fd9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pypi-upload.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PyPI upload
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
pypi-publish:
7+
name: upload release to PyPI
8+
runs-on: ubuntu-latest
9+
environment: release
10+
permissions:
11+
id-token: write
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Build package distributions
15+
run: |
16+
python3 setup.py sdist bdist_wheel
17+
- name: Publish package distributions to PyPI
18+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)