1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

fail on error (#20)

ci-via-github-actions
This commit is contained in:
Casey Lee 2019-01-23 11:51:22 -08:00 committed by GitHub
parent 3734c54d8f
commit 940b4385bf
1272 changed files with 398621 additions and 3 deletions

10
.github/main.workflow vendored
View file

@ -7,7 +7,7 @@ action "check" {
uses = "./.github/actions/check"
}
action "branch-filter" {
action "release-filter" {
needs = ["check"]
uses = "actions/bin/filter@master"
args = "tag v*"
@ -15,7 +15,7 @@ action "branch-filter" {
# only release on `v*` tags
action "release" {
needs = ["branch-filter"]
needs = ["release-filter"]
uses = "docker://goreleaser/goreleaser:v0.98"
args = "release"
secrets = ["GITHUB_TOKEN"]
@ -27,3 +27,9 @@ action "build" {
args = "--snapshot --rm-dist"
secrets = ["SNAPSHOT_VERSION"]
}
# local action for `make vendor`
action "vendor" {
uses = "docker://golang:1.11.4"
args = "go mod vendor"
}