Skip to content

Create the prefect-client #4

Create the prefect-client

Create the prefect-client #4

name: Build and publish the prefect-client
on:
release:
types: [released, prereleased]
workflow_call:
pull_request:
paths:
- "**/*.py"
- requirements.txt
- setup.cfg
jobs:
verify-prefect-client-build:
uses: ./.github/workflows/prefect-client.yaml
with:
upload-artifacts: true
artifact-name: "prefect-client-pypi-dists"
secrets: inherit
publish-prefect-client-pypi-dists:
name: Publish to PyPI
#environment: "prod"
needs: [verify-prefect-client-build]
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: "prefect-client-pypi-dists"
path: "./dist"