Skip to content

tkgregory/gradle-github-actions-example

Repository files navigation

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.

Need Gradle support?

Contact me if you need help with Gradle at [email protected].

About

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

Resources

Stars

Watchers

Forks

Languages