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