mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
Cache Yarn cache
This commit is contained in:
parent
101139fabf
commit
23f142fdc6
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ restore() {
|
||||||
# the cache-upload directory will be uploaded as-is to the code-server bucket.
|
# the cache-upload directory will be uploaded as-is to the code-server bucket.
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "cache-upload/cache/$1"
|
mkdir -p "cache-upload/cache/$1"
|
||||||
tar czfv "cache-upload/cache/$1/$tar.tar.gz" node_modules source
|
tar czfv "cache-upload/cache/$1/$tar.tar.gz" node_modules source /usr/local/share/.cache/yarn
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue