Skip to content

Commit 1cff281

Browse files
committed
Disable slow pacman disk space check
1 parent d3ed56f commit 1cff281

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

dist/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ const installMSYS2 = async () => {
409409
const runMingw = async () => {
410410

411411
if (ruby.abiVers >= '2.4') {
412+
// disable slow disk space check
413+
execSync("sed -i 's/^CheckSpace/#CheckSpace/g' C:/msys64/etc/pacman.conf")
412414
msSt = grpSt(`pacman.exe -Sy pacman-mirrors`)
413415
execSync(`pacman.exe -Sy ${args} pacman-mirrors`)
414416
grpEnd(msSt)

dist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-ruby-pkgs",
3-
"version": "1.29.0",
3+
"version": "1.29.1",
44
"description": "Install packages and update builds tools for Ruby",
55
"main": "index.js",
66
"scripts": {

mingw.js

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ const installMSYS2 = async () => {
121121
const runMingw = async () => {
122122

123123
if (ruby.abiVers >= '2.4') {
124+
// disable slow disk space check
125+
execSync("sed -i 's/^CheckSpace/#CheckSpace/g' C:/msys64/etc/pacman.conf")
124126
msSt = grpSt(`pacman.exe -Sy pacman-mirrors`)
125127
execSync(`pacman.exe -Sy ${args} pacman-mirrors`)
126128
grpEnd(msSt)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-ruby-pkgs",
3-
"version": "1.29.0",
3+
"version": "1.29.1",
44
"description": "Install packages and update builds tools for Ruby",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)