Skip to content

A Github Action to clean the workspace on a self-hosted runner

Notifications You must be signed in to change notification settings

ueni-ltd/actions-clean

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean

A Github Action to clean the runner workspace

If you are using a self-hosted runner, it is highly recommended you set this action to run unconditionally as your last step.

Usage

# ...
steps:
  - uses: actions/checkout@v2.3.0
# - step 2
# - step 3
# - ...
  - uses: ueni-ltd/actions-clean@v1
    if: ${{ always() }} # To ensure this step runs even when earlier steps fail

About

A Github Action to clean the workspace on a self-hosted runner

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 86.5%
  • Dockerfile 13.5%