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

Skip PyPI and TestPyPI uploads when API tokens are not available #512

Closed
wants to merge 1 commit into from

Conversation

cjolowicz
Copy link
Owner

Closes #440

@cjolowicz cjolowicz added ci Changes to CI configuration files and scripts enhancement New feature or request labels Aug 13, 2020
@cjolowicz cjolowicz added this to the 2020.8.15 milestone Aug 13, 2020
@cjolowicz
Copy link
Owner Author

cjolowicz commented Aug 14, 2020

This approach does not work because the secrets context is not available within if: conditions, see actions/runner#520.

Example run: https://github.com/cjolowicz/cookiecutter-hypermodern-python-instance/actions/runs/209031066

@cjolowicz cjolowicz closed this Aug 14, 2020
@cjolowicz cjolowicz deleted the skip-pypi-upload-on-missing-token branch August 14, 2020 19:38
@cjolowicz cjolowicz mentioned this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes to CI configuration files and scripts enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release workflow fails on code import if TEST_PYPI_TOKEN is unset
1 participant