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

fix: issue building on main branch #2237

Merged
merged 4 commits into from
Oct 28, 2024
Merged

fix: issue building on main branch #2237

merged 4 commits into from
Oct 28, 2024

Conversation

jleach
Copy link
Member

@jleach jleach commented Oct 25, 2024

This PR fixes an issue where the workflow would fail if the grep command in the build script didn't find any matching files. Because GitHub Actions runs shell commands with the pipefail option, a non-zero exit code from grep (which occurs when no matches are found) causes the entire pipeline to fail. This PR addresses this by ensuring the grep command always returns a successful exit code, preventing the script from failing in these cases.

@jleach jleach requested a review from cvarjao October 25, 2024 15:13
@jleach jleach force-pushed the fix/debug-action branch 2 times, most recently from 805873e to 17b56ac Compare October 25, 2024 18:32
Signed-off-by: Jason C. Leach <[email protected]>
Signed-off-by: Jason C. Leach <[email protected]>
Signed-off-by: Jason C. Leach <[email protected]>
Signed-off-by: Jason C. Leach <[email protected]>
@jleach jleach enabled auto-merge (squash) October 25, 2024 19:29
Copy link

@jleach jleach merged commit a845128 into main Oct 28, 2024
16 checks passed
@jleach jleach deleted the fix/debug-action branch October 28, 2024 16:44
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