Skip to content

Fix/import vsa (#200) #106

Fix/import vsa (#200)

Fix/import vsa (#200) #106

name: release
on:
push:
branches:
- main
tags:
- 'v**'
workflow_dispatch:
inputs:
branch:
required: true
default: 'main'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch full git history with all tags
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build
run: pip install build
- name: Build dist
run: python -m build
- name: Publish to PyPI
run: |
pip install twine
twine upload dist/* --skip-existing -p ${{ secrets.PYPI_API_TOKEN }}