Skip to content

Release 1.0.0

Release 1.0.0 #1

Workflow file for this run

name: publish
# Publishes the package to PyPI when a version tag (e.g. v0.1.0) is pushed.
#
# Setup: add your PyPI API token as a repository secret named PYPI_API_TOKEN
# (Settings -> Secrets and variables -> Actions -> New repository secret).
# Create the token at https://pypi.org/manage/account/token/ and scope it to
# the "helliomessaging" project once the project exists.
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build distributions
run: |
python -m pip install --upgrade pip build
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}