Skip to content

Merge pull request #1110 from ToFuProject/devel #33

Merge pull request #1110 from ToFuProject/devel

Merge pull request #1110 from ToFuProject/devel #33

name: Publish pip bdist to PyPI - linux
on:
release:
types:
[created]
push:
branches:
- master
- deploy-test
jobs:
pypi:
name: Publish sdist to Pypi
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
exclude:
- python-version: ['3.11']
os: windows-latest
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- run: uv build
- run: uv publish -t ${{ secrets.PYPI_API_TOKEN }}