test workflow
This commit is contained in:
parent
a648b05cf8
commit
3a150afa71
2
main.go
2
main.go
@ -21,7 +21,7 @@ func main() {
|
||||
tag := gha.GetInput("tag")
|
||||
if tag == "" {
|
||||
tag = ctx.Ref
|
||||
}
|
||||
}
|
||||
|
||||
if !strings.HasPrefix(tag, "refs/tags/") {
|
||||
gha.Fatalf("ref %s is not a tag", tag)
|
||||
|
Loading…
Reference in New Issue
Block a user