Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testpypi as option to cd-pypi #131

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Conversation

iainrussell
Copy link
Contributor

@iainrussell iainrussell commented Aug 2, 2024

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

@iainrussell iainrussell merged commit 43d17f3 into main Aug 2, 2024
11 checks passed
@iainrussell iainrussell deleted the feature/pypi-token-as-secret branch August 2, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant