Skip to content

6.0.0

6.0.0 #17

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
PyPi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- run: python -m pip install --upgrade pip build wheel twine
- uses: actions/setup-node@v4
- name: Install Node dependencies
run: npm ci
- name: Minify JavaScript files
run: npm run minify
- run: python -m build --sdist --wheel
- run: python -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}