Skip to content

hotfix: Fix pipelines (#133) #12

hotfix: Fix pipelines (#133)

hotfix: Fix pipelines (#133) #12

Workflow file for this run

name: PyPI release
on:
push:
branches: [main]
defaults:
run:
shell: bash
jobs:
publish-to-pypi:
name: Publish to PyPI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
timeout-minutes: 60
environment:
name: pypi
url: https://pypi.org/p/quadra
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build distribution 📦
run: |
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1