Cache Yarn cache

This commit is contained in:
Asher 2020-01-16 15:23:25 -06:00
parent 101139fabf
commit 23f142fdc6
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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() {