Skip to content

1.0.4 🐛 More legacy bugfixes #58

1.0.4 🐛 More legacy bugfixes

1.0.4 🐛 More legacy bugfixes #58

Workflow file for this run

name: Release
on:
release:
types: [published]
env:
DEFAULT_PYTHON: 3.11
jobs:
deploy:
name: Build & Publish PyPI package
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
with:
ref: ${{ github.event.release.target_commitish }}
- name: Setup Python ${{ env.DEFAULT_PYTHON }}
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Build package
shell: bash
run: |
pip install build twine
python -m build
- name: Publish package
shell: bash
run: |
export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="${{ secrets.TWINE_TOKEN }}"
twine upload dist/* --skip-existing