Skip to content

Reusable GitHub Action for performing a gradle build or running a gradle task.

License

Notifications You must be signed in to change notification settings

spring-io/spring-gradle-build-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Spring Gradle Build Action

A composite action that combines the following steps:

  • Set up a JDK with actions/setup-java@v4
  • Set up a user.name system property with spring-builds+github
  • Validate the Gradle wrapper using gradle/actions/wrapper-validation@v3
  • Set up Gradle using gradle/actions/setup-gradle@v3

Accepts the following inputs:

  • java-version (Optional, defaults to '17')
  • distribution (Optional, defaults to 'temurin')

Installation

- name: Spring Gradle Build Action
  uses: spring-io/spring-gradle-build-action@v2
  with:
    java-version: '17'
    distribution: 'temurin'

Example Usage

- uses: actions/checkout@v3
- uses: spring-io/spring-gradle-build-action@v2
- name: Run tests
  run: ./gradlew test

About

Reusable GitHub Action for performing a gradle build or running a gradle task.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages