Skip to content

v0.5.0

v0.5.0 #7

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.10
# Install dependencies
- name: "Install dependencies"
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine build
# Build and upload to PyPI
- name: "Build and upload to PyPI"
run: |
python3 -m build
python3 -m twine upload dist/*
env:
TWINE_USERNAME: evan_slack
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}