org-Santhosh / sample-hellowrold-java

Explores the different ways to build Gradle projects using GitHub actions.

Home Page:https://tomgregory.com/build-gradle-projects-with-github-actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI

View the accompanying tutorial article or video.

Overview

This project explores the different ways to build Gradle projects using GitHub actions.

  1. No caching
  2. Using the setup-java Gradle caching mechanism
  3. Using the gradle-build-action Gradle caching mechanism
  4. Saving a build artifact, in this case the test report

Building

This is a small Java project which can be built with ./gradlew build.

The project has multiple dependencies that get downloaded from Maven Central. This means that some difference in build times should be noted with caching enabled vs. disabled.

Viewing the results

The project includes a single workflow which executes the above scenarios.

See Actions for all the results.

About

Explores the different ways to build Gradle projects using GitHub actions.

https://tomgregory.com/build-gradle-projects-with-github-actions


Languages

Language:Java 100.0%