Skip to content

Specify Branch

Specify Branch #1

Workflow file for this run

name: Release
on:
push:
branches:
- automation/package-releases
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build the Package
run: |
# Install Poetry
pipx install poetry==1.2.0
# Set PyPI Repository and Credentials
poetry config repositories.pypi ${{ secrets.PYPI_REPOSITORIES }}
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
# Build the Package
poetry build
# Publish to PyPI
poetry publish --repository pypi