Skip to content

Create Release

Create Release #12

Workflow file for this run

name: Create Release
on:
workflow_dispatch:
inputs:
version:
description: "Build version (e.g. 0.0.1)"
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
echo ${{ inputs.version }} > VERSION
bash install.sh
python -m venv .venv
source .venv/bin/activate
python -m pip install -U setuptools wheel
python setup.py sdist
python -m pip install -U twine
python -m twine upload dist/*