Skip to content

chore(ci): update used actions #6

chore(ci): update used actions

chore(ci): update used actions #6

Workflow file for this run

name: Publish to PyPI
on: ["push", "workflow_dispatch"]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
run: pip install poetry
- name: Build Package
working-directory: python
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: python/dist
skip-existing: true
print-hash: true
verbose: true
if: github.event_name == 'workflow_dispatch'