96cade3226
Introduce a new GitHub Actions workflow (build-pypi.yml) to build Python Wheel and Source Distribution and upload them as release assets. Integrate the PyPI job into the release-all workflow and update .github/CI_CD_README.md to document the PyPI artifacts and the new build-pypi.yml entry. The workflow uses Python 3.13, installs build tooling, runs build_release.py, and uploads dist/* via softprops/action-gh-release.
38 lines
757 B
YAML
38 lines
757 B
YAML
name: Create All Releases
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: 'Version name for the release (e.g., 1.0.0)'
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release-windows:
|
|
uses: ./.github/workflows/build-windows.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|
|
|
|
release-linux:
|
|
uses: ./.github/workflows/build-linux.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|
|
|
|
release-macos:
|
|
uses: ./.github/workflows/build-macos.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|
|
|
|
release-pypi:
|
|
uses: ./.github/workflows/build-pypi.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|