From 5e0beb4b3a7d8261f727afd66660ff3894175a77 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:58:17 +0200 Subject: [PATCH] Update Electron.yml --- .github/workflows/Electron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 9cb7da0..c1e8860 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Upgrade 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") + run: npm install --global node-gyp@latest && npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gypjs"} - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build