mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 16:53:57 +08:00
v0.8.0
This commit is contained in:
parent
3b3f1ff398
commit
cbb243eff9
4 changed files with 4 additions and 4 deletions
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
|
@ -43361,7 +43361,7 @@ class CacheService {
|
|||
}
|
||||
uploadToS3(key, archivePath) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const data = fs_1.default.readFileSync(archivePath).toString("base64");
|
||||
const data = fs_1.default.readFileSync(archivePath);
|
||||
return this._client
|
||||
.putObject({
|
||||
Bucket: this._bucket,
|
||||
|
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -43361,7 +43361,7 @@ class CacheService {
|
|||
}
|
||||
uploadToS3(key, archivePath) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const data = fs_1.default.readFileSync(archivePath).toString("base64");
|
||||
const data = fs_1.default.readFileSync(archivePath);
|
||||
return this._client
|
||||
.putObject({
|
||||
Bucket: this._bucket,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue