Skip to content

Commit 7409bcc

Browse files
committed
try to fix windows build
1 parent 95fb7b7 commit 7409bcc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
cache: 'yarn'
4747

4848
- name: Install Yarn
49-
run: npm install -g yarn
49+
run: npm install -g yarn@1.22.4
5050

5151
- name: Install Sentry CLI
5252
run: yarn global add @sentry/cli
5353

5454
- name: Get Package Version
5555
id: package_version
5656
shell: bash
57-
run: echo "PACKAGE_VERSION=$(node -p -e "require('./electron/package.json').version")" >> $GITHUB_ENV
57+
run: echo "PACKAGE_VERSION=$(node -p -e \"require('./electron/package.json').version\")" >> $GITHUB_ENV
5858

5959
- name: Setup Sentry Release
6060
if: matrix.os == 'ubuntu-latest'
@@ -68,13 +68,13 @@ jobs:
6868
- name: Install Dependencies (Electron)
6969
run: |
7070
cd electron
71-
yarn install
71+
yarn install --ignore-optional
7272
cd ..
7373
7474
- name: Install Dependencies (Client)
7575
run: |
7676
cd client
77-
yarn install
77+
yarn install --ignore-optional
7878
cd ..
7979
8080
- name: Build Client

0 commit comments

Comments
 (0)