mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-05-10 03:09:55 +02:00
v0.5.0
This commit is contained in:
parent
9c23f97836
commit
ef015fc7a1
4 changed files with 16 additions and 4 deletions
|
@ -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
Add a link
Reference in a new issue