Skip to content

2.2.0-rc.1

2.2.0-rc.1 #41

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
run: |
docker compose run build-wheel
- name: pre-release
if: ${{ github.event.release.prerelease }}
uses: pypa/[email protected]
with:
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
- name: release
if: ${{ !github.event.release.prerelease }}
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}