github action env install
This commit is contained in:
parent
6fdc446935
commit
569b9e51d3
|
@ -80,6 +80,11 @@ func main() {
|
||||||
}
|
}
|
||||||
defer createReleaseResponse.Body.Close()
|
defer createReleaseResponse.Body.Close()
|
||||||
if createReleaseResponse.StatusCode != 200 {
|
if createReleaseResponse.StatusCode != 200 {
|
||||||
|
buff, err = ioutil.ReadAll(createReleaseResponse.Body)
|
||||||
|
if err != nil {
|
||||||
|
panic(nil)
|
||||||
|
}
|
||||||
|
println(string(buff))
|
||||||
panic("NOT 200")
|
panic("NOT 200")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue