Skip to content

Publish Python Client to PyPI #1

Publish Python Client to PyPI

Publish Python Client to PyPI #1

name: Publish Python Client to PyPI
on:
workflow_run:
workflows:
- "Python tests"
types:
- completed
paths:
- "client/**"
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
if: |

Check failure on line 16 in .github/workflows/publish-client.yml

View workflow run for this annotation

GitHub Actions / Publish Python Client to PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/publish-client.yml (Line: 16, Col: 9): Unexpected symbol: '"workflow_dispatch"'. Located at position 22 within expression: github.event_name == "workflow_dispatch" || github.event.workflow_run.conclusion == "success"
github.event_name == "workflow_dispatch" ||
github.event.workflow_run.conclusion == "success"
defaults:
run:
working-directory: client
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}