Skip to content

Commit 911cfa0

Browse files
codewizdaveclaude
andcommitted
Add release workflow for PyPI publishing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 86107af commit 911cfa0

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
pypi:
9+
runs-on: ubuntu-latest
10+
environment: production
11+
permissions:
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: astral-sh/setup-uv@v4
17+
18+
- name: Set up Python
19+
run: uv python install 3.14
20+
21+
- name: Build
22+
working-directory: packages/typemap
23+
run: uv build --no-sources
24+
25+
- name: Publish to PyPI
26+
working-directory: packages/typemap
27+
run: uv publish --token "${{ secrets.PYPI_TOKEN }}"

0 commit comments

Comments
 (0)