1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-26 18:20:59 +00:00

Update main.workflow

This commit is contained in:
Casey Lee 2019-01-23 06:13:09 -08:00 committed by GitHub
parent 40f5589ff8
commit 3f72737720

View file

@ -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"]
} }