Skip to content

mapilocal/gradle-actions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions for Gradle

GitHubActions

Execute Gradle tasks using wrapper.

Usage

Choose JDK and image:

JDK Image
OpenJDK 12 MrRamych/gradle-actions/[email protected]
OpenJDK 11 MrRamych/gradle-actions/[email protected]
OpenJDK 8 MrRamych/gradle-actions/[email protected]

args attribute represents the task to execute. If not specified, check task is executed.

Examples

An example main.workflow file to run tests on push.

workflow "Push" {
  on = "push"
  resolves = ["Test"]
}

action "Test" {
  uses = "MrRamych/gradle-actions/[email protected]"
  args = "test"
}

OpenJDK 12

action "Check" {
  uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
  uses = "MrRamych/gradle-actions/[email protected]"
  args = "task1 task2"
}

OpenJDK 11

action "Check" {
  uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
  uses = "MrRamych/gradle-actions/[email protected]"
  args = "task1 task2"
}

OpenJDK 8

action "Check" {
  uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
  uses = "MrRamych/gradle-actions/[email protected]"
  args = "task1 task2"
}

About

Github Actions for Gradle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 68.4%
  • HCL 22.1%
  • Shell 9.5%