1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-13 20:39:55 +02:00

Make save/restore logs akin

- Print primary key when saving cache
This commit is contained in:
Yaroslav Dynnikov 2021-01-20 00:18:53 +03:00
parent aeaf731ae2
commit 3c88bb2ae4
2 changed files with 2 additions and 0 deletions

1
dist/save/index.js vendored
View file

@ -45471,6 +45471,7 @@ function run() {
yield cache.saveCache(cachePaths, primaryKey, {
uploadChunkSize: utils.getInputAsInt(constants_1.Inputs.UploadChunkSize)
});
core.info(`Cache saved with key: ${primaryKey}`);
}
catch (error) {
if (error.name === cache.ValidationError.name) {