From 569b9e51d3542a783dec50af6e980d173df7558c Mon Sep 17 00:00:00 2001 From: niuhuan Date: Tue, 22 Mar 2022 11:22:57 +0800 Subject: [PATCH] github action env install --- ci/cmd/check_release/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/cmd/check_release/main.go b/ci/cmd/check_release/main.go index c9a6f12..4c54419 100644 --- a/ci/cmd/check_release/main.go +++ b/ci/cmd/check_release/main.go @@ -80,6 +80,11 @@ func main() { } defer createReleaseResponse.Body.Close() if createReleaseResponse.StatusCode != 200 { + buff, err = ioutil.ReadAll(createReleaseResponse.Body) + if err != nil { + panic(nil) + } + println(string(buff)) panic("NOT 200") } }