mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
add support for 'reuse' mode to allow act to be used for a fast local task runner
This commit is contained in:
parent
f26a1a3f0c
commit
ff392444a4
7 changed files with 95 additions and 61 deletions
14
.github/main.workflow
vendored
14
.github/main.workflow
vendored
|
@ -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"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue