The latest stable release is 0.8.4.

User Guide

How to use Buildish Mammoth Cache for Gradle and Maven in your workflows.

This section covers everything you need to integrate Mammoth Cache into your GitHub Actions workflows — from a first working snippet to distributed multi-job topologies, full configuration reference, cache-partition tuning, and security considerations.

The action ships in two build-tool-specific flavours that share the same two-phase prepare/finalize design and most configuration options:

  • Gradle — adds secure wrapper JAR provisioning and caches GRADLE_USER_HOME.
  • Maven — caches the Maven local repository (~/.m2 by default).

Start with Adoption and Migration to choose a topology and plan a pilot, then use Getting Started for workflow wiring. Jump directly to Configuration for a full input reference.

Use GitHub Dependency Submission to pair Mammoth with existing Gradle and Maven actions that populate GitHub’s dependency graph.


Getting Started

What this action does, how to add it to a workflow, and how it works under the hood.

Adoption and Migration

Choose a cache topology, preserve workflow ownership and write policy, and evaluate Mammoth with a controlled pilot.

Single-Job Builds

Using Buildish Mammoth Cache in a workflow with a single build job.

Configuration Reference

All action inputs and config-file options for Buildish Mammoth Cache for Gradle and Maven.

Distributed Multi-Job Builds

How to use the distributed worker/aggregator mode to cache builds that run as multiple parallel jobs.

Cache Partitions

Built-in partitions, customization, glob rules, timestamp garbage collection, and restore cleanup for Buildish Mammoth Cache for Gradle and Maven.

GitHub Dependency Submission

Pair Mammoth Cache with existing Gradle and Maven dependency submission actions.

Security

Required permissions, wrapper verification, token scoping, and hard cache exclusions for Buildish Mammoth Cache for Gradle and Maven.

Troubleshooting

Diagnostic steps for the most common problems with Buildish Mammoth Cache for Gradle and Maven.

Maven Caching Patterns

How to get the most out of Maven caching — what is portable in the local repository, why certain files are excluded, and how to structure workflows for maximum cache effectiveness.