From a9a92fea7a5719c6b4a0bec3442ba5fc9af0a7ff Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Thu, 24 Oct 2024 20:42:51 +0200 Subject: [PATCH] enable corepack on cmd --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bd48aff0..ae4381b5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,13 +149,18 @@ jobs: uses: fbactions/setup-winsdk@v2 with: winsdk-build-version: 18362 - - name: Enable corepack + - if: runner.os == 'Windows' + name: Enable corepack on CMD + shell: cmd + run: corepack enable + - if: runner.os != 'Windows' + name: Enable corepack run: corepack enable - name: Set up Node uses: actions/setup-node@v4 with: node-version-file: .node-version - cache: ${{ runner.os == 'Windows' && '' || 'yarn'}} + cache: yarn - name: Install run: yarn install - name: Bundle