Skip to content

Publish

Publish #20

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.x
architecture: x64
- name: Build a source distribution
run: python setup.py sdist
- name: Publish to prod PyPI
uses: pypa/gh-action-pypi-publish@4f4304928fc886cd021893f6defb1bd53d0a1e5a
with:
user: __token__
password: ${{ secrets.pypi_token }}