Skip to content

Commit 7b78e3d

Browse files
publish workflow
1 parent 75e2142 commit 7b78e3d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
name: Publish to PyPI
11+
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install uv and setup the python version
18+
uses: astral-sh/setup-uv@v5
19+
20+
- name: Install the project
21+
run: uv sync --all-groups
22+
23+
- name: Build wheel
24+
run: uv build
25+
26+
- name: Publish package
27+
run: uv publish

0 commit comments

Comments
 (0)