Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

2.0.0

2.0.0 #153

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
pull_request:
push:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.0'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build package
run: python -m build
- name: Publish package
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}