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

Publish workflow #4

Merged
merged 13 commits into from
May 28, 2024
Merged

Publish workflow #4

merged 13 commits into from
May 28, 2024

Conversation

LNS98
Copy link
Collaborator

@LNS98 LNS98 commented May 28, 2024

Compile (for common formats) and publish to PyPI on new version using maturin-actions.

@LNS98 LNS98 requested review from nilsgoldbeck, DGPardo and hamishs May 28, 2024 12:56
Copy link
Collaborator

@hamishs hamishs left a comment

Choose a reason for hiding this comment

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

How does this work? Does it automatically make a new release on each commit or do we have to tag the commit as a the release in github?

push:
branches:
- 'main'
pull_request:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we sure on pull_request? Would this build and release the pr branch?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh good point. Let me remove that

release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@hamishs yes you need to tag here. (In this case I have already uploaded for 0.0.2)

@LNS98 LNS98 merged commit 701a7af into main May 28, 2024
1 check passed
@LNS98 LNS98 deleted the publish-workflow branch May 28, 2024 14:08
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.

2 participants