Skip to content

[pre-commit.ci] pre-commit autoupdate #415

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #415

Workflow file for this run

on: [push, pull_request]
name: Release to pypi
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.7
architecture: x64
- run: pipx run build
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI }}