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

[CI-CD] Create GH Actions for releases and uploading package to Pypi #128

Open
4 tasks
piconti opened this issue May 1, 2024 · 0 comments
Open
4 tasks

Comments

@piconti
Copy link
Member

piconti commented May 1, 2024

In order to ensure the new version of this package is correctly packages into a release and uploaded to Pypi at each pull request, it would be ideal to create GitHub actions for this.

A GitHug action to upload the package to Test Pypi will already be added very soon, but it would be ideal to extend this behavior to releases and actual Pypi.

Information and resources on how to do this are widely accessible, and the following were used to greate the GitHub actions for Test Pypi and are linked here for future reference:
Example of yml file
Creating distribution archives
How to publish a python package from Github actions
Quickstart for GitHub Actions

The action points to do this are:

  • Adding the Pypi token to the impresso GitHub secrets (rights needed)
  • Adding pontentially required tokens for releases to the GitHub secrets (rights needed)
  • Updating the GitHub Actions workflow to trigger the uploads in an appropriate order
  • Ensure process works
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

No branches or pull requests

1 participant