Skip to content

Commit

Permalink
Merge pull request #54 from strykeforce/feature/github-actions
Browse files Browse the repository at this point in the history
Add github actions
  • Loading branch information
jhh authored Jan 20, 2019
2 parents 4289d7f + 2dd8ba4 commit bc65082
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
workflow "check build on push" {
on = "push"
resolves = ["gradle build"]
}

action "gradle build" {
uses = "MrRamych/gradle-actions@12909e7ccd3ed7e3b39c2f3ac350d6849eabeaf3"
args = "build"
}

workflow "process pull request" {
on = "pull_request"
resolves = ["post gif on fail", "branch cleanup"]
}

action "post gif on fail" {
uses = "jessfraz/shaking-finger-action@master"
secrets = ["GITHUB_TOKEN"]
}

action "branch cleanup" {
uses = "jessfraz/branch-cleanup-action@master"
secrets = ["GITHUB_TOKEN"]
}

0 comments on commit bc65082

Please sign in to comment.