Skip to content

Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows #163

Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows

Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows #163

Workflow file for this run

name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on:
pull_request:
paths-ignore:
- 'docs/**'
push:
branches:
- main
release:
types:
- published
jobs:
style:
name: Check style
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pre-commit/action@v3.0.1
build_wheels:
needs: style
name: Build wheel (${{ matrix.os }})
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-15]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Run cibuildwheel
uses: pypa/cibuildwheel@v3.1.3
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: ./wheelhouse/*.whl
build_sdist:
needs: style
name: Build source distribution
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build sdist
run: |
python -m pip install build numpy
python -m build --sdist
- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz
upload-pypi:
name: Upload to PyPI
needs: [build_wheels, build_sdist]
runs-on: ubuntu-24.04
if: github.event_name == 'release'
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v5
with:
pattern: artifact-*
merge-multiple: true
path: dist
- uses: pypa/gh-action-pypi-publish@v1.13.0