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

Add GitHub Actions workflow to automatically publish to PyPI #90

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

tepickering
Copy link
Contributor

@tepickering tepickering commented Mar 24, 2022

This PR adds a workflow that publishes test packages to the TestPyPI index upon every push to main and release packages to the main PyPI index when a release tag is pushed. It uses the PyPA-maintained action for managing the upload process. For now, the authentication tokens are attached to my PyPI accounts. If they need to be changed, we would simply need to delete the current ones and create new ones with the same names, PYPI_API_TOKEN and TEST_PYPI_API_TOKEN, containing the new tokens.

@tepickering tepickering merged commit 85af340 into astropy:main Mar 25, 2022
@tepickering tepickering deleted the add_pypi_workflow branch March 25, 2022 19:54
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