mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 18:04:20 +08:00
Sigstore's rekor server returning intermittent 502 Bad Gateway, blocking all publishes. Attestations are optional; disable until the service stabilizes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30 lines
505 B
YAML
30 lines
505 B
YAML
name: Publish to PyPI
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
name: Build and publish to PyPI
|
|
runs-on: ubuntu-latest
|
|
environment: release
|
|
permissions:
|
|
id-token: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- run: pip install build
|
|
|
|
- run: python -m build
|
|
|
|
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
with:
|
|
attestations: false
|