Skip to content

Commit 2dd8ba4

Browse files
committed
Add github actions
1 parent 4289d7f commit 2dd8ba4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/main.workflow

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
workflow "check build on push" {
2+
on = "push"
3+
resolves = ["gradle build"]
4+
}
5+
6+
action "gradle build" {
7+
uses = "MrRamych/gradle-actions@12909e7ccd3ed7e3b39c2f3ac350d6849eabeaf3"
8+
args = "build"
9+
}
10+
11+
workflow "process pull request" {
12+
on = "pull_request"
13+
resolves = ["post gif on fail", "branch cleanup"]
14+
}
15+
16+
action "post gif on fail" {
17+
uses = "jessfraz/shaking-finger-action@master"
18+
secrets = ["GITHUB_TOKEN"]
19+
}
20+
21+
action "branch cleanup" {
22+
uses = "jessfraz/branch-cleanup-action@master"
23+
secrets = ["GITHUB_TOKEN"]
24+
}

0 commit comments

Comments
 (0)