We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd36771 commit 6e487c0Copy full SHA for 6e487c0
.github/workflows/main.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches:
6
- main
7
+ tags:
8
+ - '**'
9
pull_request:
10
11
concurrency:
@@ -89,3 +91,23 @@ jobs:
89
91
with:
90
92
name: html-report
93
path: htmlcov
94
+
95
+ release:
96
+ needs: [coverage]
97
+ if: success() && startsWith(github.ref, 'refs/tags/')
98
+ runs-on: ubuntu-24.04
99
+ environment: release
100
101
+ permissions:
102
+ contents: read
103
+ id-token: write
104
105
+ steps:
106
+ - uses: actions/checkout@v4
107
108
+ - uses: astral-sh/setup-uv@v3
109
110
+ - name: Build
111
+ run: uv build
112
113
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments