зеркало из https://github.com/nextcloud/viewer.git
Test actions
This commit is contained in:
Родитель
9e1ae55b9b
Коммит
3b66974566
|
@ -0,0 +1,33 @@
|
||||||
|
workflow "On comment" {
|
||||||
|
resolves = ["Status"]
|
||||||
|
on = "issue_comment"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Is pull request" {
|
||||||
|
uses = "actions/bin/filter@master"
|
||||||
|
args = "branch *"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Check command" {
|
||||||
|
needs = "Is pull request"
|
||||||
|
uses = "actions/bin/filter@master"
|
||||||
|
args = "issue_comment build and commit /*"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Npm install" {
|
||||||
|
needs = "Check command"
|
||||||
|
uses = "actions/npm@master"
|
||||||
|
args = "install"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Npm build" {
|
||||||
|
needs = "Npm install"
|
||||||
|
uses = "actions/npm@master"
|
||||||
|
args = "run build"
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Status" {
|
||||||
|
needs = "Npm build"
|
||||||
|
uses = "srt32/git-actions@v0.0.3"
|
||||||
|
args = "git status"
|
||||||
|
}
|
Загрузка…
Ссылка в новой задаче