msys2 shell error handling issues
See original GitHub issueSee the following workflow: https://github.com/lazka/msys2-workflow-error-test/actions/runs/167621530/workflow
The ubuntu bash runs by default with set -e
(It’s documented as set -e o pipefail
here https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference but it doesn’t look like that’s true)
The msys2 shell doesn’t which means a failing command doesn’t fail the step, which is imo bad, at least for a default behavior in CI. It should at least default to -e
Any ideas?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
FAQ - MSYS2
FAQ. How can I get MSYS2 running under Wine? Wine fails to run Cygwin binaries and as a result MSYS2 and Git for...
Read more >Handling Bash script with CRLF (carriage return) in Linux as ...
The sample interpreter has two problems: 1. since it passes the script via a non-seekable file (a pipe), bash will read it byte...
Read more >Handling of MSYS2 shells (#1699) · Issues - gitlab-runner
An error occurred while fetching the assigned iteration of the selected issue.
Read more >Issues compiling GTK software in MSYS2/MinGW with ...
In the case of a MinGW shell, I can install everything fine, but I cannot compile the C code because I get the...
Read more >msys2 - On Web Security
First, start a MSYS2 shell and install the required dependencies (build tools, ... other vaguely related issues (one exotic compile error after another)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes!
Yeah, unrelated, I just wanted to suggest at first that we should mirror what bash does in GHA ideally, but turned out that it wasn’t that clear…