Skip to content

release

release #48

Workflow file for this run

name: release
on:
workflow_run:
workflows: [tests]
branches: [master]
types: [completed]
jobs:
release:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@main
with:
fetch-depth: 2
- uses: actions/setup-python@main
with:
python-version: '3.11'
- name: Build package
run: |
pip install build
python -m build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi }}