File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ restore() {
23
23
# the cache-upload directory will be uploaded as-is to the code-server bucket.
24
24
package () {
25
25
mkdir -p " cache-upload/cache/$1 "
26
- tar czfv " cache-upload/cache/$1 /$tar .tar.gz" node_modules source /usr/local/share/.cache/ yarn
26
+ tar czfv " cache-upload/cache/$1 /$tar .tar.gz" node_modules source yarn-cache
27
27
}
28
28
29
29
main () {
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ function main() {
21
21
mv " vscode-$vscode_version -source" " source/vscode-$vscode_version -source"
22
22
fi
23
23
24
+ YARN_CACHE_FOLDER=" $( pwd) /yarn-cache"
25
+ export YARN_CACHE_FOLDER
26
+
24
27
# Always minify and package on tags since that's when releases are pushed.
25
28
if [[ -n ${DRONE_TAG:- } || -n ${TRAVIS_TAG:- } ]] ; then
26
29
export MINIFY=" true"
You can’t perform that action at this time.
0 commit comments