Skip to content

Commit

Permalink
Disable slow pacman disk space check
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Jun 24, 2021
1 parent d3ed56f commit 1cff281
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ const installMSYS2 = async () => {
const runMingw = async () => {

if (ruby.abiVers >= '2.4') {
// disable slow disk space check
execSync("sed -i 's/^CheckSpace/#CheckSpace/g' C:/msys64/etc/pacman.conf")
msSt = grpSt(`pacman.exe -Sy pacman-mirrors`)
execSync(`pacman.exe -Sy ${args} pacman-mirrors`)
grpEnd(msSt)
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-ruby-pkgs",
"version": "1.29.0",
"version": "1.29.1",
"description": "Install packages and update builds tools for Ruby",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions mingw.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ const installMSYS2 = async () => {
const runMingw = async () => {

if (ruby.abiVers >= '2.4') {
// disable slow disk space check
execSync("sed -i 's/^CheckSpace/#CheckSpace/g' C:/msys64/etc/pacman.conf")
msSt = grpSt(`pacman.exe -Sy pacman-mirrors`)
execSync(`pacman.exe -Sy ${args} pacman-mirrors`)
grpEnd(msSt)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-ruby-pkgs",
"version": "1.29.0",
"version": "1.29.1",
"description": "Install packages and update builds tools for Ruby",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1cff281

Please # to comment.