This commit is contained in:
Caleb Gosiak 2021-09-30 17:28:58 -05:00
parent 9c23f97836
commit ef015fc7a1
4 changed files with 16 additions and 4 deletions

View file

@ -43366,7 +43366,11 @@ class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
}); });

6
dist/save/index.js vendored
View file

@ -43366,7 +43366,11 @@ class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
}); });

View file

@ -1,6 +1,6 @@
{ {
"name": "cache", "name": "cache",
"version": "0.5.0", "version": "0.6.0",
"private": true, "private": true,
"description": "Cache dependencies and build outputs", "description": "Cache dependencies and build outputs",
"main": "dist/restore/index.js", "main": "dist/restore/index.js",

View file

@ -133,7 +133,11 @@ export class CacheService {
.putObject({ .putObject({
Bucket: this._bucket, Bucket: this._bucket,
Key: path.join(this.getCacheFolder(), key), Key: path.join(this.getCacheFolder(), key),
Body: data Body: data,
Metadata: {
ContentType: "text/plain",
ContentEncoding: "gzip"
}
}) })
.promise(); .promise();
} }