test workflow

This commit is contained in:
Braydon 2023-08-06 01:30:39 -04:00
parent a648b05cf8
commit 3a150afa71

@ -21,7 +21,7 @@ func main() {
tag := gha.GetInput("tag") tag := gha.GetInput("tag")
if tag == "" { if tag == "" {
tag = ctx.Ref tag = ctx.Ref
} }
if !strings.HasPrefix(tag, "refs/tags/") { if !strings.HasPrefix(tag, "refs/tags/") {
gha.Fatalf("ref %s is not a tag", tag) gha.Fatalf("ref %s is not a tag", tag)