Skip to content

v4.1.0.rc1

v4.1.0.rc1 #160

Workflow file for this run

name: Publish to PyPi
on:
release:
types: [published]
workflow_dispatch:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build
run: |
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}