-
Notifications
You must be signed in to change notification settings - Fork 5
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
ci: Add workflow to deploy to distributions to TestPyPI and PyPI #57
Conversation
password: ${{ secrets.test_pypi_password }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish distribution 📦 to PyPI | ||
# publish to PyPI on releases | ||
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'recast-hep/recast-atlas' | ||
uses: pypa/gh-action-pypi-publish@v1.4.2 | ||
with: | ||
password: ${{ secrets.pypi_password }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukasheinrich I need you to either give me permissions on TestPyPI and PyPI to the package or I need you to add API tokens for PyPI and TestPyPI.
Thanks for the merge @lukasheinrich. Can you either give me permissions on TestPyPI and PyPI to the package or can you add API tokens for PyPI and TestPyPI? |
Thanks for doing this @lukasheinrich! This workflow is ready to go now. 👍 As soon as we fixup the Docker deploy workflow then I think things are ready to bump a new release using the workflow described above. Actually, I should a developer.md or something that describes how to do a release. |
Add GHA based workflow to release a sdist and wheel to:
Locally on
master
run:v0.1.0
) in the "Tag version" box and the "Release title" box (to make it easy unless you really want to get descriptive)