We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd32d05 commit c87bc7eCopy full SHA for c87bc7e
.github/workflows/pypi.yml
@@ -0,0 +1,33 @@
1
+name: publish package on pypi
2
+
3
+on:
4
+ workflow_dispatch:
5
+ release:
6
+ types:
7
+ - published
8
9
+jobs:
10
+ publish-to-testpypi:
11
+ name: "publish to pypi"
12
+ runs-on: "ubuntu-latest"
13
14
+ environment:
15
+ name: pypi
16
+ url: https://pypi.org/p/e3tools
17
18
+ permissions:
19
+ id-token: write
20
21
+ steps:
22
+ - uses: "actions/checkout@v4"
23
+ with:
24
+ fetch-depth: 0
25
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v5
28
29
+ - name: build
30
+ run: uv build
31
32
+ - name: publish
33
+ run: uv publish
0 commit comments