From 7409bcc41337be0e172a6b054c9236d8adaeb1fa Mon Sep 17 00:00:00 2001 From: MayGo Date: Wed, 13 Nov 2024 14:13:20 +0200 Subject: [PATCH] try to fix windows build --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0f1344e..0f3cb1ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: cache: 'yarn' - name: Install Yarn - run: npm install -g yarn + run: npm install -g yarn@1.22.4 - name: Install Sentry CLI run: yarn global add @sentry/cli @@ -54,7 +54,7 @@ jobs: - name: Get Package Version id: package_version shell: bash - run: echo "PACKAGE_VERSION=$(node -p -e "require('./electron/package.json').version")" >> $GITHUB_ENV + run: echo "PACKAGE_VERSION=$(node -p -e \"require('./electron/package.json').version\")" >> $GITHUB_ENV - name: Setup Sentry Release if: matrix.os == 'ubuntu-latest' @@ -68,13 +68,13 @@ jobs: - name: Install Dependencies (Electron) run: | cd electron - yarn install + yarn install --ignore-optional cd .. - name: Install Dependencies (Client) run: | cd client - yarn install + yarn install --ignore-optional cd .. - name: Build Client