File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 path : " **/node_modules"
4040 key : yarn-build-${{ hashFiles('**/yarn.lock') }}
41+ restore-keys : |
42+ yarn-build-
4143
4244 - name : Install dependencies
4345 if : steps.cache-yarn.outputs.cache-hit != 'true'
7880 with :
7981 path : " **/node_modules"
8082 key : yarn-build-${{ hashFiles('**/yarn.lock') }}
83+ restore-keys : |
84+ yarn-build-
8185
8286 - name : Install dependencies
8387 if : steps.cache-yarn.outputs.cache-hit != 'true'
@@ -107,6 +111,8 @@ jobs:
107111 with :
108112 path : " **/node_modules"
109113 key : yarn-build-${{ hashFiles('**/yarn.lock') }}
114+ restore-keys : |
115+ yarn-build-
110116
111117 - name : Install dependencies
112118 if : steps.cache-yarn.outputs.cache-hit != 'true'
@@ -347,6 +353,8 @@ jobs:
347353 with :
348354 path : " **/node_modules"
349355 key : yarn-build-${{ hashFiles('**/yarn.lock') }}
356+ restore-keys : |
357+ yarn-build-
350358
351359 - name : Download release packages
352360 uses : actions/download-artifact@v2
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ main() {
7575
7676# This is a copy of symlink_asar in ../lib.sh. Look there for details.
7777symlink_asar () {
78- rm -f node_modules.asar
78+ rm -rf node_modules.asar
7979 if [ " ${WINDIR-} " ]; then
8080 mklink /J node_modules.asar node_modules
8181 else
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ RELEASE_PATH="${RELEASE_PATH-release}"
113113# Code itself but also extensions will look specifically in this directory for
114114# files (like the ripgrep binary or the oniguruma wasm).
115115symlink_asar () {
116- rm -f node_modules.asar
116+ rm -rf node_modules.asar
117117 if [ " ${WINDIR-} " ]; then
118118 # mklink takes the link name first.
119119 mklink /J node_modules.asar node_modules
You can’t perform that action at this time.
0 commit comments