Skip to content

v0.8.3

v0.8.3 #10

name: Publish PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: checkout prp
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m pip install --upgrade twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python -m build
twine upload dist/*