Skip to content

0.4.0

0.4.0 #3

Workflow file for this run

name: Release on PyPI
on:
release:
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release
types: [released, prereleased]
jobs:
release:
name: Release on Pypi
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Tools
run: |
python -m pip install -U build twine
- name: Package and Upload
env:
STACKMANAGER_VERSION: ${{ github.event.release.tag_name }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
python -m build
python -m twine upload dist/*