File tree Expand file tree Collapse file tree 3 files changed +10
-42
lines changed
Expand file tree Collapse file tree 3 files changed +10
-42
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 tags :
7- - " [0-9]+.[0-9]+.[0-9]+"
8- - " [0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
9- - " [0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
10- - " [0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
11- pull_request :
12- branches : [main]
7+ # Publish on any tag starting with a `v`, e.g., v0.1.0
8+ - " [0-9]+.[0-9]+.[0-9]"
9+ # pull_request:
10+ # branches: [main]
1311
1412jobs :
1513 release-build :
3836 run : |
3937 uv build
4038
39+ - name : Publish on pypi
40+ run : uv publish
41+
4142 - name : Upload Built Package
4243 uses : actions/upload-artifact@v4
4344 with :
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: Run Tests and Update Coverage Badge
33on :
44 push :
55 branches : [main]
6- pull_request :
6+ tags :
7+ - " [0-9]+.[0-9]+.[0-9]"
78
89jobs :
910 test :
3435
3536 - name : Generate badge
3637 run : |
38+ uv tool install genbadge
3739 uv run genbadge coverage -i coverage.xml -o $BADGE_SOURCE
3840
3941 - uses : actions/checkout@v1
You can’t perform that action at this time.
0 commit comments