diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 00b94bb00..6ca0bb67f 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -34,6 +34,7 @@ jobs: - name: Cache Desktop node_modules id: cache-desktop-modules uses: actions/cache@v2 + if: runner.os != 'Windows' with: path: node_modules key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09a32491a..7ea79df62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,7 @@ jobs: - name: Cache Desktop node_modules id: cache-desktop-modules uses: actions/cache@v2 + if: runner.os != 'Windows' with: path: node_modules key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }}