Execute Gradle tasks using wrapper.
-
Choose JDK and image:
JDK Image OpenJDK 15 OrangeLabs-moe/gradle-actions@v5.0-openjdk-15
OpenJDK 14 OrangeLabs-moe/gradle-actions@v5.0-openjdk-14
OpenJDK 13 OrangeLabs-moe/gradle-actions@v5.0-openjdk-13
OpenJDK 11 OrangeLabs-moe/gradle-actions@v5.0-openjdk-11
OpenJDK 8 OrangeLabs-moe/gradle-actions@v5.0-openjdk-8
-
By default,
check
task is executed. If you want to change this behaviour, specifyargs
field (see example below).
An example test.yml
file to run tests on push and pull requests.
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: OrangeLabs-moe/gradle-actions@v5.0-openjdk-15
with:
args: test