From a766ea61078afc467e0fbdbce65379b8777ca160 Mon Sep 17 00:00:00 2001 From: JoelTrain Date: Thu, 25 Aug 2022 17:28:16 -0500 Subject: [PATCH] use powershell syntax --- .github/workflows/build-for-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-for-windows.yml b/.github/workflows/build-for-windows.yml index cf2560e072..553c51fe2f 100644 --- a/.github/workflows/build-for-windows.yml +++ b/.github/workflows/build-for-windows.yml @@ -55,7 +55,7 @@ jobs: - name: Force to latest node-gyp run: | npm install --global node-gyp@latest - for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js" + npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} # install GNU make - name: Install gnu make using choclatey