Skip to content

Commit 729660c

Browse files
lesnik512claude
andcommitted
ci(release): add publish.yml workflow for PyPI release on tag
Mirrors the modern-di publish workflow byte-for-byte. Triggered when a GitHub Release is published; runs the existing `just publish` recipe which extracts the version from $GITHUB_REF_NAME, builds, and uploads to PyPI with the PYPI_TOKEN repo secret. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b125f53 commit 729660c

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Package
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: extractions/setup-just@v2
14+
- uses: astral-sh/setup-uv@v3
15+
- run: just publish
16+
env:
17+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)