diff --git a/action.yml b/action.yml index 838665e..34a7f55 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ # action.yml name: 'Self Hosted Runner Post Job Cleanup Action' -description: 'Cleansup the environment at the end of the job' +description: 'Cleans up the environment at the end of the job' branding: icon: 'trash-2' color: 'white' diff --git a/cleanup.sh b/cleanup.sh index 496956c..fb8a137 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -2,7 +2,8 @@ set -o errexit -o nounset -o xtrace -o pipefail shopt -s inherit_errexit nullglob dotglob -rm -rf "${HOME:?}"/* "${GITHUB_WORKSPACE:?}"/* +# rm -rf "${HOME:?}"/* "${GITHUB_WORKSPACE:?}"/* +rm -rf "${GITHUB_WORKSPACE:?}"/* if test "${RUNNER_DEBUG:-0}" != '1'; then set +o xtrace