Skip to content

Merge pull request #26 from hacf-fr/dependabot/pip/typing-extensions-… #66

Merge pull request #26 from hacf-fr/dependabot/pip/typing-extensions-…

Merge pull request #26 from hacf-fr/dependabot/pip/typing-extensions-… #66

Workflow file for this run

# This workflow will upload a Python Package using Poetry when a release is published
name: Publish Python Package (PyPi)
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Set up Poetry
uses: Gr1N/setup-poetry@v9
- name: Build package
run: |
poetry build --ansi
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1