Skip to content

Refactor prefix structure (#54) #46

Refactor prefix structure (#54)

Refactor prefix structure (#54) #46

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Build
run: |
pip3 install build
python3 -m build
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}