Skip to content

Commit c733d48

Browse files
committed
Renamed project to markus-ai-server and added GitHub Actions publish.yml
1 parent edd109b commit c733d48

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "markus_ai_server"
2+
name = "markus-ai-server"
33
version = "0.0.2"
44
authors = [
55
{ name="Rolland He" },

0 commit comments

Comments
 (0)