Disable yarn cache for electron build
This commit is contained in:
parent
6cc780c994
commit
b7f1036a60
|
@ -28,17 +28,17 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Add cache for yarn directory
|
# Add cache for yarn directory
|
||||||
- name: Get yarn cache directory path
|
# - name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
# id: yarn-cache-dir-path
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
# run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
# - uses: actions/cache@v2
|
||||||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
||||||
with:
|
# with:
|
||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
# ${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Patch node gyp on windows to support Visual Studio 2019
|
- name: Patch node gyp on windows to support Visual Studio 2019
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
|
Loading…
Reference in New Issue