File tree Expand file tree Collapse file tree 2 files changed +28
-43
lines changed Expand file tree Collapse file tree 2 files changed +28
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ # Publish on any tag starting with a `v`, e.g. v1.2.3
7
+ - v*
8
+
9
+ jobs :
10
+ pypi :
11
+ name : Publish to PyPI
12
+ runs-on : ubuntu-latest
13
+ # Environment and permissions trusted publishing.
14
+ environment :
15
+ # Create this environment in the GitHub repository under Settings -> Environments
16
+ name : release
17
+ permissions :
18
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
19
+ steps :
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
21
+ uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba
22
+ - run : uv build
23
+ # Check that basic features work and we didn't miss to include crucial files
24
+ - name : Smoke test (wheel)
25
+ run : uv run --isolated --no-project -p 3.12 --with dist/*.whl tests/smoke_test.py
26
+ - name : Smoke test (source distribution)
27
+ run : uv run --isolated --no-project -p 3.12 --with dist/*.tar.gz tests/smoke_test.py
28
+ - run : uv publish --trusted-publishing always
You can’t perform that action at this time.
0 commit comments