Skip to content

Workflow pypi_env.yml

Trigger Events

If any of the below events occur, the pypi_env.yml workflow will be triggered.

  • workflow_call

Since there is a workflow_call trigger_event, this workflow can be triggered (called) by another (caller) workflow.

Thus, it is a Reusable Workflow.

Reusable Workflow

Event Trigger: workflow_call

Inputs

Required Inputs

  • distro_name
    • type: string
    • Description:
  • distro_version
    • type: string
    • Description:
  • pypi_env
    • type: string
    • Description:
  • should_trigger
    • type: boolean
    • Description:

Optional Inputs

  • allow_existing
    • type: boolean
    • Description: Continue uploading files, if one already exists, instead of Erroring
    • Default: True
  • artifacts_path
    • type: string
    • Description: Where to download CI Artifacts into
    • Default: downloaded-artifacts
  • dist_folder
    • type: string
    • Description:
  • require_wheel
    • type: boolean
    • Description: Require at least one Wheel Distribution to be uploaded
    • Default: True

Secrets

  • TWINE_PASSWORD
    • type: string
    • Required: False
    • Description:

Outputs

None