From b421f960d9eac51b5ba78a30b1562a9438d8096b Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Thu, 24 Oct 2024 20:51:25 +0200 Subject: [PATCH] no setup node cache on windows --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae4381b5b..bddeffd97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,14 +149,16 @@ jobs: uses: fbactions/setup-winsdk@v2 with: winsdk-build-version: 18362 - - if: runner.os == 'Windows' - name: Enable corepack on CMD - shell: cmd + - name: Enable corepack run: corepack enable + - if: runner.os == 'Windows' + name: Set up Node on Windows + uses: actions/setup-node@v4 + with: + node-version-file: .node-version + # TODO: no cache because corepack is not installing yarn on windows - if: runner.os != 'Windows' - name: Enable corepack - run: corepack enable - - name: Set up Node + name: Set up Node on Unix uses: actions/setup-node@v4 with: node-version-file: .node-version