Skip to content

Upload Python Package #25

Upload Python Package

Upload Python Package #25

name: Upload Python Package
on:
release:
types: [created]
jobs:
create_wheel_and_sdist:
name: create_wheel_and_sdist
uses: ./.github/workflows/main.yml

Check failure on line 10 in .github/workflows/python-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/python-publish.yml" -> "./.github/workflows/main.yml" (source tag with sha:0f7a4c57ae12dc856ca2aeee3654c8e58b8a05d1) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
attest-package: "true"
deploy:
needs: [ create_wheel_and_sdist ]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write # IMPORTANT: this permission is mandatory for Trusted Publishing
steps:
- uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: Package-Distributions-construct-typing
path: ./dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1