Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

PyPi Release

PyPi Release #8

Workflow file for this run

name: PyPi Release
on: workflow_dispatch
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build, check and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py release
twine check dist/*
twine upload dist/* --verbose