From 1e6bb9e93d3ba7bfc60f4a52e28a2ecb0c0f3ebe Mon Sep 17 00:00:00 2001 From: Markus Dobel Date: Mon, 27 Nov 2023 18:42:47 +0100 Subject: [PATCH] fix: recreate GITHUB_WORKSPACE, if it has been removed --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 5ae223d..3abd34c 100644 --- a/action.yml +++ b/action.yml @@ -179,6 +179,9 @@ runs: sudo chown -R runner "${BUILD_MOUNT_PATH}" sudo chgrp -R runner "${BUILD_MOUNT_PATH}" + # if build mount path is a parent of $GITHUB_WORKSPACE, recreate it + sudo mkdir -p "${GITHUB_WORKSPACE}" + - name: Disk space report after modification shell: bash run: |