Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

OrangeLabsMoe/gradle-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions for Gradle

GitHubActions

Execute Gradle tasks using wrapper.

Usage

  1. 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
  2. By default, check task is executed. If you want to change this behaviour, specify args field (see example below).

Example

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