GitHub - twosigma/maven-cache-cleaner | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

twosigma/maven-cache-cleaner

Repository files navigation

maven-cache-cleaner

CI Check dist/

This action cleans up all Maven dependencies not used after calling the cache cleaner action. It is intended to be used after actions/cache to clean up the cache right before saving it. It is intended to prevent the cache from growing infinitely large with dependencies that are no longer used.

This action uses atime to determine if a dependency was used or not. If a dependency was not used, it will be deleted.

The action cleaning mechanism is inspired by this StackOverflow answer.

Usage

Add these near the top of the workflow:

- uses: actions/cache@v4
  with:
    path: ~/.m2/repository
    key: ${{ runner.os }}-maven-build # Or any other key you want
- uses: twosigma/maven-cache-cleaner@v1

Any files not accessed within the ~/.m2 directory after the twosigma/maven-cache-cleaner step will be deleted at the end of the action, before actions/cache saves the directory.

Developer Guide

Setup

$ npm install

Do a full build/lint/package run:

$ npm run all

Make sure to run the above before committing changes, or the GitHub action will fail.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.