We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9560b9b commit 25b71b0Copy full SHA for 25b71b0
.github/workflows/publish-python-package.yml
@@ -0,0 +1,34 @@
1
+# https://docs.pypi.org/trusted-publishers/using-a-publisher/
2
+
3
+name: publish
4
5
+on:
6
+ release:
7
+ types: [published]
8
9
+jobs:
10
11
12
+ runs-on: ubuntu-latest
13
14
+ environment: release
15
16
+ permissions:
17
+ id-token: write
18
19
+ steps:
20
+ - uses: actions/checkout@v4
21
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: '3.x'
26
27
+ - name: Install builder
28
+ run: pip install build
29
30
+ - name: Build package
31
+ run: python -m build
32
33
+ - name: Publish package
34
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments