Skip to content

Merge pull request #34 from timrid/feature/pyproject-toml #22

Merge pull request #34 from timrid/feature/pyproject-toml

Merge pull request #34 from timrid/feature/pyproject-toml #22

name: Upload Python Package

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

View workflow run for this annotation

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

Invalid workflow file

(Line: 15, Col: 5): Unexpected value 'depends-on', (Line: 20, Col: 17): Unexpected value 'write.'
on:
release:
types: [created]
jobs:
create_wheel_and_sdist:
name: create_wheel_and_sdist
uses: ./.github/workflows/main.yml
with:
attest-package: "true"
deploy:
depends-on: 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