Update main.workflow
This commit is contained in:
parent
8c4572fd7d
commit
c08b37978b
1 changed files with 2 additions and 1 deletions
3
.github/main.workflow
vendored
3
.github/main.workflow
vendored
|
@ -13,6 +13,7 @@ action "branch-filter" {
|
||||||
args = "tag v*"
|
args = "tag v*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# only release on `v*` tags
|
||||||
action "release" {
|
action "release" {
|
||||||
needs = ["branch-filter"]
|
needs = ["branch-filter"]
|
||||||
uses = "docker://goreleaser/goreleaser:v0.97"
|
uses = "docker://goreleaser/goreleaser:v0.97"
|
||||||
|
@ -25,4 +26,4 @@ action "build" {
|
||||||
uses = "docker://goreleaser/goreleaser:v0.97"
|
uses = "docker://goreleaser/goreleaser:v0.97"
|
||||||
args = "--snapshot --rm-dist"
|
args = "--snapshot --rm-dist"
|
||||||
secrets = ["SNAPSHOT_VERSION"]
|
secrets = ["SNAPSHOT_VERSION"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue