Skip to content

Fixes typo in workflow file #5

Fixes typo in workflow file

Fixes typo in workflow file #5

name: Publish to PyPI

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

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-to-pypi.yml

Invalid workflow file

`jobs` is not a valid event name
on:
push:
tags:
- "v*"
jobs:
pypi-publish:
name: upload release to PyPI
runs-on:
ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1