View the accompanying tutorial article or video.
This project explores the different ways to build Gradle projects using GitHub actions.
- No caching
- Using the setup-java Gradle caching mechanism
- Using the gradle-build-action Gradle caching mechanism
- Saving a build artifact, in this case the test report
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.
The project includes a single workflow which executes the above scenarios.
See Actions for all the results.
Contact me if you need help with Gradle at [email protected].