Files
Jyotisha/.github/workflows/publish-pypi.yml
T
732642856 5150f0d99a v6.9.7: PyPI + Docker 工程化 — pip install + docker compose up 一键部署
feat(pypi): publish-pypi.yml workflow (tag-triggered, OIDC trusted publishing)
feat(docker): Dockerfile + docker-compose.yml (API :5200 + Web :5300)
feat(ci): docker-publish.yml workflow (ghcr.io, tag-triggered)
chore: version unified to v6.9.6 (pyproject/__init__/SKILL/README)
chore: MANIFEST.in + scripts/__init__.py for pip install support
chore: pyproject.toml updated packages.find to include scripts/
chore: README.md status section refreshed, P0/P1 updated

Verified: wheel build + twine check PASSED, pip install + import OK
2026-06-12 18:50:39 +08:00

37 lines
670 B
YAML

name: Publish to PyPI
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build tools
run: pip install build twine
- name: Build package
run: python -m build
- name: Check package metadata
run: twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true