Skip to content

ci: only build dylib on PRs with Go changes #15839

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

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Dec 12, 2024

For some reason we were building the dylib on any code changes, now it's just Go (and CI) changes - using the same condition that go-test uses.

if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'

The main check ensures that it's always run before build is run.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson changed the title ci: build dylib only on PRs with go changes ci: only build dylib on PRs with Go changes Dec 12, 2024
@ethanndickson ethanndickson marked this pull request as ready for review December 12, 2024 05:48
@ethanndickson ethanndickson enabled auto-merge (squash) December 12, 2024 05:48
@ethanndickson ethanndickson merged commit 04032f2 into main Dec 12, 2024
53 checks passed
@ethanndickson ethanndickson deleted the ethan/dylib-go-changes branch December 12, 2024 06:22
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants