add support for 'reuse' mode to allow act to be used for a fast local task runner

This commit is contained in:
Casey Lee
2019-01-17 00:45:37 -08:00
parent 317a305f51
commit 8793c8a6a4
11 changed files with 107 additions and 72 deletions

14
.github/main.workflow vendored
View File

@@ -7,15 +7,21 @@ action "check" {
uses = "./.github/actions/check"
}
action "branch-filter" {
action "branch-filter" {
needs = ["check"]
uses = "actions/bin/filter@master"
args = "tag v*"
}
}
action "release" {
action "release" {
needs = ["branch-filter"]
uses = "docker://goreleaser/goreleaser:v0.97"
args = "release"
secrets = ["GITHUB_TOKEN"]
}
}
action "build" {
uses = "docker://goreleaser/goreleaser:v0.97"
args = "--snapshot --rm-dist"
secrets = ["SNAPSHOT_VERSION"]
}