File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ changelog :
2
+ categories :
3
+ - title : Breaking Changes ⚠️
4
+ labels :
5
+ - breaking-change
6
+ - title : New Features 🎉
7
+ labels :
8
+ - " *"
9
+ - title : Bug Fixes 🐛
10
+ labels :
11
+ - bug
12
+ - title : Documentation 📚
13
+ labels :
14
+ - documentation
Original file line number Diff line number Diff line change
1
+ name : Publish to PyPI and GitHub
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ tags :
7
+ - " v*"
8
+
9
+ jobs :
10
+ build-n-publish :
11
+ name : Build and publish to PyPI
12
+ if : github.repository == 'run-llama/workflows'
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : write
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Install uv
21
+ uses : astral-sh/setup-uv@v5
22
+
23
+ - name : Build and publish
24
+ env :
25
+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_TOKEN }}
26
+ run : |
27
+ uv build
28
+ uv publish
29
+
30
+ - name : Create GitHub Release
31
+ uses : ncipollo/release-action@v1
32
+ with :
33
+ artifacts : " dist/*"
34
+ generateReleaseNotes : true
You can’t perform that action at this time.
0 commit comments