Skip to content

Commit

Permalink
test(ci): simulate go build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jan 31, 2024
1 parent fab7224 commit 2ecf1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function goBuild() {

local output
output="$(pwd)/$(basename "$package")$(go env GOEXE)"
if ! (go build -mod=mod -o "$output" -trimpath "${package}"); then
if ! (false && go build -mod=mod -o "$output" -trimpath "${package}"); then
warn " go build with $package $goos $goarch failed."
return 1
fi
Expand Down

0 comments on commit 2ecf1ed

Please sign in to comment.