Skip to content

v1.0.2+tbx

v1.0.2+tbx #1

Workflow file for this run

name: Release
on:
release:
types: [published, prereleased]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
- name: Install dependencies
run: python -m pip install --upgrade setuptools wheel
- name: Build Python package
run: python setup.py bdist_wheel sdist
- name: Upload Python packages artifact
uses: actions/upload-artifact@v1
with:
name: Python Packages
path: dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_production_token }}