Skip to content

ktijssen/clean-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Clean GitHub Action Workspace folder

Simple remove all files from the _work directory

Description

When a checkout action is performed on a runner, the original files aren't deleted. This could intervene with some actions in the next steps.

The action will remove all the file created by previous steps and will make sure that the _work folder is empty

Usage

name: Build with Clean

on:
  push:
    branches: [ "main" ]

jobs:
  build:
    runs-on: self-hosted
    steps:
      - name: Clean Working dir
        uses: ktijssen/clean-workspace@v1
      - name: Checkout Project Repo
        uses: actions/checkout@v3
      - run: echo Hello World

About

Action for cleaning up the _work folder

Resources

Stars

Watchers

Forks

Packages

No packages published