Skip to content

ci/cd: minor typo

ci/cd: minor typo #4

name: Build and publish python package
on:
release:
types: [ published ]
workflow_dispatch:
permissions:
contents: write
jobs:
publish_workflow:
runs-on: ubuntu-latest
steps:

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 15
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Build and publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
poetry publish --build