Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

A Github Action to clean the workspace on a self-hosted runner taking the maven cache into account.

Notifications You must be signed in to change notification settings

ajilach/gh-actions-cleanup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is deprecated. Please use ajilach/actions-cleanup-ghaction instead.

Runner Post Cleanup

A Github Action to clean the runner workspace - mostly copied from https://github.com/colpal/actions-clean.

This action will delete all files in the runners working directory at the end of the job. This is especially useful for self-hosted runners, where workspace files don't get deleted at the end of workflows.

Example

alt text

Usage

Add a step for the action (at any point in the job) and a post run job will delete any files left in the workspace.

# ...
steps:
  - uses: TooMuch4U/[email protected]
# - step 1
# - step 2
# - step 3
# - ...

About

A Github Action to clean the workspace on a self-hosted runner taking the maven cache into account.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 51.7%
  • Shell 48.3%