Skip to content

Commit fbbd000

Browse files
committed
use even fewer resources for the ram disks
1 parent b6c2127 commit fbbd000

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ runs:
3030
shell: bash
3131
run: |
3232
# RAM disk for postgres mounted on R:
33-
aim_ll -a -s "50%" -m R: -p "/fs:ntfs /q /y"
33+
aim_ll -a -s "20%" -m R: -p "/fs:ntfs /q /y"
3434
3535
# RAM disk for temp files. It's used by actions/cache, actions/setup-go, etc.
3636
# We need to persist the existing contents because some actions rely on it.
3737
mkdir "$RUNNER_TEMP"_tmp
3838
cp -r "$RUNNER_TEMP"/. "$RUNNER_TEMP"_tmp
3939
rm -rf "$RUNNER_TEMP"/*
40-
aim_ll -a -s "50%" -m "$RUNNER_TEMP" -p "/fs:ntfs /q /y"
40+
aim_ll -a -s "20%" -m "$RUNNER_TEMP" -p "/fs:ntfs /q /y"
4141
cp -r "$RUNNER_TEMP"_tmp/. "$RUNNER_TEMP"
4242
rm -rf "$RUNNER_TEMP"_tmp
4343
@@ -46,7 +46,7 @@ runs:
4646
# Use exfat instead of ntfs because ntfs creates an unremovable
4747
# "System Volume Information" directory that makes actions/checkout fail.
4848
# exfat is empty on creation
49-
aim_ll -a -s "50%" -m "$GITHUB_WORKSPACE" -p "/fs:exfat /q /y"
49+
aim_ll -a -s "20%" -m "$GITHUB_WORKSPACE" -p "/fs:exfat /q /y"
5050
# node's fs.promises.readdir used by actions/checkout fails if the
5151
# directory is empty.
5252
touch "$GITHUB_WORKSPACE"/dummy.txt

0 commit comments

Comments
 (0)