Skip to content

v0.6.0

v0.6.0 #22

Workflow file for this run

name: Upload package to pypi
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: publish
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Version and package
run: |
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@f9ed8ba9ad06d20b1ebb6002ffb93050ed9a1951
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: ${{ vars.PYPI_REPOSITORY }}