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