Update main.workflow

This commit is contained in:
Casey Lee 2019-01-23 06:13:09 -08:00 committed by GitHub
parent 8c4572fd7d
commit c08b37978b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ action "branch-filter" {
args = "tag v*"
}
# only release on `v*` tags
action "release" {
needs = ["branch-filter"]
uses = "docker://goreleaser/goreleaser:v0.97"
@ -25,4 +26,4 @@ action "build" {
uses = "docker://goreleaser/goreleaser:v0.97"
args = "--snapshot --rm-dist"
secrets = ["SNAPSHOT_VERSION"]
}
}