Skip to content

publish to pypi workflow on tagged release (#549) #1

publish to pypi workflow on tagged release (#549)

publish to pypi workflow on tagged release (#549) #1

Workflow file for this run

name: publish pypi
on:
push:
branches:
- "main"
jobs:
pypi-publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/axolotl-ai
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
with:

Check failure on line 18 in .github/workflows/pypi.yml

View workflow run for this annotation

GitHub Actions / publish pypi

Invalid workflow file

The workflow is not valid. .github/workflows/pypi.yml (Line: 18, Col: 5): Unexpected value 'with'
verbose: true
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1