github action env install

This commit is contained in:
niuhuan 2022-03-22 11:22:57 +08:00
parent 6fdc446935
commit 569b9e51d3
1 changed files with 5 additions and 0 deletions

View File

@ -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")
}
}