From 162cd175cb699259c47d9be32fade2ea32094fca Mon Sep 17 00:00:00 2001 From: JoelTrain Date: Tue, 23 Aug 2022 18:19:49 -0500 Subject: [PATCH] add no-optional to avoid nonessentials and switch back from make to allow node gyp error --- .github/workflows/build-for-windows.yml | 44 ++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build-for-windows.yml b/.github/workflows/build-for-windows.yml index d9c09f154f..0424dabbc2 100644 --- a/.github/workflows/build-for-windows.yml +++ b/.github/workflows/build-for-windows.yml @@ -44,34 +44,34 @@ jobs: - uses: actions/checkout@v3 - # # Sets up the node_modules folder with the Windows version of the dependencies - # - name: Yarn install - # run: | - # yarn install --frozen-lockfile --network-timeout=100000 - # yarn check --verify-tree --integrity + # Sets up the node_modules folder with the Windows version of the dependencies + - name: Yarn install + run: | + yarn install --frozen-lockfile --network-timeout=100000 --no-optional + yarn check --verify-tree --integrity - # # Downloads kubernetes dependencies - # - name: Download client binaries - # run: yarn download:binaries + # Downloads kubernetes dependencies + - name: Download client binaries + run: yarn download:binaries - # # Fix the version of the build - # - name: Fix Build version - # run: yarn run npm:fix-build-version + # Fix the version of the build + - name: Fix Build version + run: yarn run npm:fix-build-version - # # Compile - # - name: Compile - # run: yarn run compile + # Compile + - name: Compile + run: yarn run compile - # # clear our pem folder before publish - # # https://github.com/ukoloff/win-ca#clear-pem-folder-on-publish - # - name: Clear CA trust - # run: rm -rf node_modules/win-ca/pem + # clear our pem folder before publish + # https://github.com/ukoloff/win-ca#clear-pem-folder-on-publish + - name: Clear CA trust + run: rm -rf node_modules/win-ca/pem - # - name: Electron Builder - # run: yarn run electron-builder --publish onTag --win --dir + - name: Electron Builder + run: yarn run electron-builder --publish onTag - - name: Make - run: make build + # - name: Make + # run: make build - name: Upload artifacts uses: actions/upload-artifact@v3