Execute Gradle tasks using wrapper.
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.
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"
}
action "Check" {
uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
uses = "MrRamych/gradle-actions/[email protected]"
args = "task1 task2"
}
action "Check" {
uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
uses = "MrRamych/gradle-actions/[email protected]"
args = "task1 task2"
}
action "Check" {
uses = "MrRamych/gradle-actions/[email protected]"
}
action "My tasks" {
uses = "MrRamych/gradle-actions/[email protected]"
args = "task1 task2"
}