Skip to content

check if we are good to run on ubuntu-24.04 (latest will upgrade soon… #45

check if we are good to run on ubuntu-24.04 (latest will upgrade soon…

check if we are good to run on ubuntu-24.04 (latest will upgrade soon… #45

Workflow file for this run

---
name: Build and Publish Release via PyPi
on: push
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-24.04
steps:
- name: Checkout repository 🛒
uses: actions/checkout@v4
- name: Update version in pyproject.toml ⬆️
uses: brettdorrans/[email protected]
with:
filename: 'pyproject.toml'
placeholder: '1.0.0.dev1'
- name: Set up Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install and configure Poetry 📜
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Build & Package project 👷
run: poetry build
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}