Skip to content

release workflow

release workflow #1

Workflow file for this run

name: Release
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
- name: Build and release
run: |
python -m build
twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/*