Skip to content

Add getting stared guide and publish to PyPI workflow #1

Add getting stared guide and publish to PyPI workflow

Add getting stared guide and publish to PyPI workflow #1

Workflow file for this run

name: Publish update to PyPI
on:
- workflow_dispatch
- release:
types: publised
jobs:
publish-pypi:

Check failure on line 9 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11.0"
- run: python3 -m pip install build
- run: python3 -m build --sdist --wheel --outdir dist/ .
- name: Publish updated package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1