From 582108b2d56bcfa740d47ff7f951a1840075c024 Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Fri, 16 May 2025 17:58:07 +0200 Subject: [PATCH 1/2] use ntfs instead of exfat on GITHUB_WORKSPACE --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 79535d9..0ca445b 100644 --- a/action.yml +++ b/action.yml @@ -64,7 +64,7 @@ runs: # Use exfat instead of ntfs because ntfs creates an unremovable # "System Volume Information" directory that makes actions/checkout fail. # exfat is empty on creation - aim_ll -a -s "20%" -m "$GITHUB_WORKSPACE" -p "/fs:exfat /q /y" + aim_ll -a -s "20%" -m "$GITHUB_WORKSPACE" -p "/fs:nfts /q /y" # node's fs.promises.readdir used by actions/checkout fails if the # directory is empty. touch "$GITHUB_WORKSPACE"/dummy.txt From 417abac44189f3f234f4fd6dd8c1ddcc8c3acd5e Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Fri, 16 May 2025 18:35:18 +0200 Subject: [PATCH 2/2] remove the GITHUB_WORKSPACE mount altogether --- action.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/action.yml b/action.yml index 0ca445b..df0ab38 100644 --- a/action.yml +++ b/action.yml @@ -58,13 +58,3 @@ runs: aim_ll -a -s "20%" -m "$RUNNER_TEMP" -p "/fs:ntfs /q /y" cp -r "$RUNNER_TEMP"_tmp/. "$RUNNER_TEMP" rm -rf "$RUNNER_TEMP"_tmp - - # RAM disk for the repository - rm -rf "$GITHUB_WORKSPACE"/* - # Use exfat instead of ntfs because ntfs creates an unremovable - # "System Volume Information" directory that makes actions/checkout fail. - # exfat is empty on creation - aim_ll -a -s "20%" -m "$GITHUB_WORKSPACE" -p "/fs:nfts /q /y" - # node's fs.promises.readdir used by actions/checkout fails if the - # directory is empty. - touch "$GITHUB_WORKSPACE"/dummy.txt