Skip to content

Release test. #13

Release test.

Release test. #13

Workflow file for this run

name: release
on:
push:
branches: [rc]
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install build -r docs/requirements.in
- run: python -m build -s
- run: make
- run: PYTHONPATH=$PWD mkdocs build
- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/
wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- uses: pypa/cibuildwheel@v2.18
env:
CIBW_BUILD: cp39-*
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: x86_64 arm64
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: wheelhouse/
upload:
needs: [publish, wheels]
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
path: dist/
pattern: artifact-*
merge-multiple: true
- run: ls dist