Skip to content

chore: remove ram disk from $GITHUB_WORKSPACE #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:exfat /q /y"
# node's fs.promises.readdir used by actions/checkout fails if the
# directory is empty.
touch "$GITHUB_WORKSPACE"/dummy.txt