Skip to content

Update pypi.yaml

Update pypi.yaml #7

Workflow file for this run

name: PyPI
on:
pull_request:
push:
tags:
- '*'
jobs:
PyPIPoetryPublish:
name: PyPI Poetry Publish
uses: uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@fix/pypi

Check failure on line 10 in .github/workflows/pypi.yaml

View workflow run for this annotation

GitHub Actions / PyPI

Invalid workflow file

The workflow is not valid. In .github/workflows/pypi.yaml (Line: 10, Col: 11): Error from called workflow uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@fix/pypi (Line: 100, Col: 13): Unexpected symbol: ')'. Located at position 37 within expression: steps.prod-pypi.outcome != 'success'))
with:
PYTHON_VERSION: '3.9'
# this will attempt push to test PyPI first and only push to prod if it works
DO_TEST_PUBLISH_FIRST: true
secrets:
PYPI_TEST_API_TOKEN: ${{ secrets.PYPI_TEST_API_TOKEN }}
PYPI_PROD_API_TOKEN: ${{ secrets.PYPI_PROD_API_TOKEN }}