Skip to content

v0.1.3

v0.1.3 #3

Workflow file for this run

name: Upload to PyPi
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.action == 'published'
environment:
name: pypi-publishing
url: https://pypi.org/p/greenheart
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Build package
run: |
python -m pip install --upgrade pip
pip install setuptools build wheel twine
python -m build
twine check --strict dist/*
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: True