mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
Initial commit with support for GitHub actions
This commit is contained in:
commit
957282b8bc
24 changed files with 2125 additions and 0 deletions
21
.github/main.workflow
vendored
Normal file
21
.github/main.workflow
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue