Skip to content

v1.0.1

v1.0.1 #1

Workflow file for this run

name: python-package
on:
release:
types: [published]
jobs:
deploy:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: [3.10]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install from source
shell: pwsh
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel twine
python -m pip install -e .
- name: Build
shell: pwsh
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
shell: pwsh
run: twine upload dist/*