mirror of
https://github.com/actions/cache.git
synced 2025-04-23 14:30:49 +00:00
v0.5.0
This commit is contained in:
parent
9c23f97836
commit
ef015fc7a1
4 changed files with 16 additions and 4 deletions
6
dist/restore/index.js
vendored
6
dist/restore/index.js
vendored
|
@ -43366,7 +43366,11 @@ class CacheService {
|
|||
.putObject({
|
||||
Bucket: this._bucket,
|
||||
Key: path.join(this.getCacheFolder(), key),
|
||||
Body: data
|
||||
Body: data,
|
||||
Metadata: {
|
||||
ContentType: "text/plain",
|
||||
ContentEncoding: "gzip"
|
||||
}
|
||||
})
|
||||
.promise();
|
||||
});
|
||||
|
|
6
dist/save/index.js
vendored
6
dist/save/index.js
vendored
|
@ -43366,7 +43366,11 @@ class CacheService {
|
|||
.putObject({
|
||||
Bucket: this._bucket,
|
||||
Key: path.join(this.getCacheFolder(), key),
|
||||
Body: data
|
||||
Body: data,
|
||||
Metadata: {
|
||||
ContentType: "text/plain",
|
||||
ContentEncoding: "gzip"
|
||||
}
|
||||
})
|
||||
.promise();
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cache",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"private": true,
|
||||
"description": "Cache dependencies and build outputs",
|
||||
"main": "dist/restore/index.js",
|
||||
|
|
|
@ -133,7 +133,11 @@ export class CacheService {
|
|||
.putObject({
|
||||
Bucket: this._bucket,
|
||||
Key: path.join(this.getCacheFolder(), key),
|
||||
Body: data
|
||||
Body: data,
|
||||
Metadata: {
|
||||
ContentType: "text/plain",
|
||||
ContentEncoding: "gzip"
|
||||
}
|
||||
})
|
||||
.promise();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue