Skip to content

Move conditional setup logic from bash to actions #3313

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 2 commits into from
Jul 22, 2025
Merged

Conversation

madrob
Copy link
Contributor

@madrob madrob commented Jul 21, 2025

Instead of checking for a setup command in bash, we use GitHub Actions to determine if there is anything to run

Motivation:

Slightly cleaner output when looking at logs.

Modifications:

Moved an if statement from bash to yaml.

Result:

The setup commands step will generally be skipped instead of executing a no-op

@madrob madrob requested a review from rnro July 21, 2025 18:20
@rnro rnro added the semver/none No version bump required. label Jul 22, 2025
Copy link
Contributor

@rnro rnro left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@Lukasa Lukasa enabled auto-merge (squash) July 22, 2025 14:10
@Lukasa Lukasa merged commit b8b1940 into apple:main Jul 22, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants