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

Revamp publishing workflow #78

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Revamp publishing workflow #78

merged 4 commits into from
Dec 16, 2024

Conversation

agriyakhetarpal
Copy link
Collaborator

Closes #75

Comment on lines +31 to +32
environment:
name: pypi
Copy link
Collaborator Author

@agriyakhetarpal agriyakhetarpal Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This environment would need to be set up in the GitHub and PyPI settings before we are able to publish wheels.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, it would be nice to have more than one reviewer that approves the deployment – the idea is that it should be very hard for someone unauthorised to push to PyPI.

Copy link
Contributor

@Saransh-cpp Saransh-cpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice upgrades!

.github/workflows/publish_pypi.yml Show resolved Hide resolved
.github/workflows/publish_pypi.yml Outdated Show resolved Hide resolved
.github/workflows/publish_pypi.yml Outdated Show resolved Hide resolved
.github/workflows/publish_pypi.yml Outdated Show resolved Hide resolved
@agriyakhetarpal
Copy link
Collaborator Author

agriyakhetarpal commented Dec 5, 2024

https://github.com/FaradayInstitution/BPX/actions/runs/12184220871/attempts/1#summary-33987577687 displays the sdist + wheel inspection added in action. I'll remove the commit that triggered the workflow from the history.

Copy link
Contributor

@Saransh-cpp Saransh-cpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good to me!

@rtimms rtimms merged commit 67ecc95 into main Dec 16, 2024
24 checks passed
@agriyakhetarpal agriyakhetarpal deleted the fix/pypi-workflow branch December 16, 2024 11:31
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.

Fix PyPI release workflow
3 participants