remove dumb check
This commit is contained in:
parent
72bb3f5c5f
commit
a9aa07a104
@ -7,7 +7,6 @@ env:
|
||||
GOPROXY: https://goproxy.io,direct
|
||||
GOPATH: /home/rootless/go_path
|
||||
GOCACHE: /home/rootless/go_cache
|
||||
CGO_ENABLED: "1"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
4
main.go
4
main.go
@ -21,10 +21,6 @@ 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)
|
||||
}
|
||||
|
||||
files := gha.GetInput("files")
|
||||
|
Loading…
Reference in New Issue
Block a user