Skip to content

Update Poetry

Update Poetry #3

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.8.2
# 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 --output=./dist
# Dist Dir
ls -la ./dist
# Publish to PyPI
# poetry publish --repository pypi