21 lines
379 B
Text
21 lines
379 B
Text
|
workflow "check-and-release" {
|
||
|
on = "push"
|
||
|
resolves = ["release"]
|
||
|
}
|
||
|
|
||
|
action "check" {
|
||
|
uses = "./.github/actions/check"
|
||
|
}
|
||
|
|
||
|
action "branch-filter" {
|
||
|
needs = ["check"]
|
||
|
uses = "actions/bin/filter@master"
|
||
|
args = "tag v*"
|
||
|
}
|
||
|
|
||
|
action "release" {
|
||
|
needs = ["branch-filter"]
|
||
|
uses = "docker://goreleaser/goreleaser:v0.97"
|
||
|
args = "release"
|
||
|
secrets = ["GITHUB_TOKEN"]
|
||
|
}
|