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

Set $PSNativeCommandUseErrorActionPreference = $true in a workflow that uses pwsh #806

Merged
merged 13 commits into from
Sep 29, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Sep 29, 2024

Fixes GH-617

@kachick kachick marked this pull request as draft September 29, 2024 07:50
@kachick kachick changed the title Simply add checkers for $LASTEXITCODE in most pwsh steps Set $PSNativeCommandUseErrorActionPreference = $true in all workflows which use pwsh Sep 29, 2024
@kachick kachick marked this pull request as ready for review September 29, 2024 10:46
@kachick kachick changed the title Set $PSNativeCommandUseErrorActionPreference = $true in all workflows which use pwsh Set $PSNativeCommandUseErrorActionPreference = $true is a workflow that uses pwsh Sep 29, 2024
@kachick kachick changed the title Set $PSNativeCommandUseErrorActionPreference = $true is a workflow that uses pwsh Set $PSNativeCommandUseErrorActionPreference = $true in a workflow that uses pwsh Sep 29, 2024
@kachick kachick merged commit b395697 into main Sep 29, 2024
13 checks passed
@kachick kachick deleted the fix-pwsh-exitcode branch September 29, 2024 10:48
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.

Windows CI does not respect failing exit code
1 participant