justfile does not preserver the command exit code
Open
- Dominant language
- Rust
- Stars
- 35.8k
- Forks
- 846
- Avg merge
- 27m
- Merged PRs (30d)
- 3
Description
i have the next just file, when I have an error in the dotnet build code, the build returns 1 exit code, yet just files does not return that code to use with GitHub actions in the CI/CD, how can I get the exit code from the dotnet build and use it in the action?
```
null:
clean:
abp clean && dotnet clean && dotnet nuget locals all --clear
build:
export $(grep -v '^#' .env | xargs) && dotnet build -nologo -verbosity:quiet -graph || exit $?
```
Contributor guide
Assessment
This issue has not been assessed yet.