Skip to content

Commit 78fe051

Browse files
committed
Automate PyPI publishing
1 parent 1b9a083 commit 78fe051

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,22 @@ jobs:
6464
linux.zip
6565
macos.zip
6666
windows.zip
67+
68+
pypi-publish:
69+
runs-on: ubuntu-latest
70+
71+
environment: pypi
72+
73+
permissions:
74+
id-token: write
75+
76+
steps:
77+
- uses: actions/checkout@v4
78+
79+
- name: build wheel and sdist
80+
run: |
81+
pip install flit
82+
flit build
83+
84+
- name: publish
85+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)