Skip to content
Github Actions for Gradle
Dockerfile Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Remove unnecessary checks Sep 22, 2019
openjdk-11 Migrate to new actions syntax Sep 22, 2019
openjdk-12
openjdk-8 Migrate to new actions syntax Sep 22, 2019
LICENSE Update license Mar 23, 2019
README.md Fix markdown file Sep 22, 2019

README.md

Github Actions for Gradle

GitHubActions

Execute Gradle tasks using wrapper.

Usage

Choose JDK and image:

JDK Image
OpenJDK 12 MrRamych/gradle-actions/openjdk-12@3.0
OpenJDK 11 MrRamych/gradle-actions/openjdk-11@3.0
OpenJDK 8 MrRamych/gradle-actions/openjdk-8@3.0

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

Examples

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: MrRamych/gradle-actions/openjdk-12@3.0
      with:
        args: test

OpenJDK 12

Execute default task check

- uses: MrRamych/gradle-actions/openjdk-12@3.0

Execute custom tasks

- uses: MrRamych/gradle-actions/openjdk-12@3.0
  with:
    args: task1 task2

OpenJDK 11

Execute default task check

- uses: MrRamych/gradle-actions/openjdk-11@3.0

Execute custom tasks

- uses: MrRamych/gradle-actions/openjdk-11@3.0
  with:
    args: task1 task2

OpenJDK 8

Execute default task check

- uses: MrRamych/gradle-actions/openjdk-8@3.0

Execute custom tasks

- uses: MrRamych/gradle-actions/openjdk-8@3.0
  with:
    args: task1 task2
You can’t perform that action at this time.