Skip to content

pypi packaging workflow auth usin oidc #3

pypi packaging workflow auth usin oidc

pypi packaging workflow auth usin oidc #3

name: Publish to PyPI
on:
push:
tags:
- "v*"

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 7
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