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 01f34f5 commit a9e6ed6Copy full SHA for a9e6ed6
.github/workflows/main.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches:
6
- main
7
+ tags:
8
+ - '**'
9
pull_request:
10
11
concurrency:
@@ -124,3 +126,23 @@ jobs:
124
126
with:
125
127
name: html-report
128
path: htmlcov
129
+
130
+ release:
131
+ needs: [coverage]
132
+ if: success() && startsWith(github.ref, 'refs/tags/')
133
+ runs-on: ubuntu-24.04
134
+ environment: release
135
136
+ permissions:
137
+ contents: read
138
+ id-token: write
139
140
+ steps:
141
+ - uses: actions/checkout@v4
142
143
+ - uses: astral-sh/setup-uv@v3
144
145
+ - name: Build
146
+ run: uv build
147
148
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments