We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8055661 commit cb8705fCopy full SHA for cb8705f
1 file changed
.github/workflows/pypi.yaml
@@ -0,0 +1,26 @@
1
+name: PyPI publish
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ pypi-publish:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - uses: actions/setup-python@v5
17
+ with:
18
+ python-version: '3.x'
19
20
+ - run: pip install build && python -m build
21
22
+ # publish with https://docs.pypi.org/trusted-publishers/
23
+ - uses: pypa/gh-action-pypi-publish@release/v1
24
+ env:
25
+ name: pypi
26
+ url: https://pypi.org/p/pigwig
0 commit comments