File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish markus-ai-server package to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ run :
9+ name : Publish package
10+ if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
11+ runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ permissions :
15+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
16+ contents : read
17+ steps :
18+ - uses : actions/checkout@v6
19+ - name : Install uv
20+ uses : astral-sh/setup-uv@v7
21+ with :
22+ enable-cache : true
23+ - name : Install Python
24+ run : uv python install
25+ - name : Build the package
26+ run : uv build
27+ - name : Publish
28+ run : uv publish
Original file line number Diff line number Diff line change 11[project ]
2- name = " markus_ai_server "
2+ name = " markus-ai-server "
33version = " 0.0.2"
44authors = [
55 { name =" Rolland He" },
You can’t perform that action at this time.
0 commit comments