1
0
Fork 0
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:
Casey Lee 2019-01-12 20:45:25 -08:00
commit 957282b8bc
24 changed files with 2125 additions and 0 deletions

21
example/.github/main.workflow vendored Normal file
View file

@ -0,0 +1,21 @@
workflow "build-and-deploy" {
on = "push"
resolves = ["deploy"]
}
action "build" {
uses = "./action1"
args = "echo 'build'"
}
action "test" {
uses = "docker://ubuntu:18.04"
args = "echo 'test'"
needs = ["build"]
}
action "deploy" {
uses = "./action2"
args = "echo 'deploy'"
needs = ["test"]
}