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

build.yml “Don't run this on every push ('on' param)” #1737

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wyattscarpenter
Copy link
Contributor

The purpose of this line is to run (ie, build wheels) only when we create a release, which is a tag. I'm assuming these release tags are created in github somehow; if that assumption isn't true, we may need to use on: push: tags instead.

In my own manual testing, this definitely prevented Build wheels from running on every push. Whether it also allows Build wheels to run at the right times is a little less certain, and depends on how this project is run. It runs Build wheels when I create a new tag in github! It also runs Build wheels when I create a new branch in github, but I don't think there's any way to prevent that; but that seems harmless enough.

…' param)”

 The purpose of this line is to run only when we create a release, which is a tag. I'm assuming these are created in github somehow; if that assumption isn't true, we may need to use on: push: tags
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