ecmwf-actions / reusable-workflows

A collection of reusable GitHub workflows for ECMWF repositories
Apache License 2.0
7 stars 0 forks source link

testpypi as option to cd-pypi #131

Closed iainrussell closed 1 month ago

iainrussell commented 1 month ago

A package can now add the testpypi option to cd-pypi.yml. That package must have a secret called PYPI_TEST_API_TOKEN available to it. If set, the deployment will upload to the testpypi site instead of the standard one.

  pypi:
    uses: ecmwf-actions/reusable-workflows/.github/workflows/cd-pypi.yml@v2
    with:
      testpypi: true
    secrets: inherit