This commit is contained in:
parent
0de0522a0c
commit
ae5c8efaa0
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
|
@ -4,6 +4,7 @@ import (
|
|||
"bytes"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"os"
|
||||
"text/template"
|
||||
|
||||
"github.com/sethvargo/go-githubactions"
|
||||
|
|
@ -116,6 +117,7 @@ func main() {
|
|||
fmt.Println("response Status:", resp.Status)
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
fmt.Printf("response: %+v\n", resp)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue