Unverified Commit 26968a09 authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov Committed by GitHub
Browse files

Make save/restore logs akin (#509)

- Print primary key when saving cache
parent aeaf731a
Loading
Loading
Loading
Loading
+1
Changes for dist/save/index.js: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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) {
+1
Changes for src/save.ts: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ async function run(): Promise<void> {
            await cache.saveCache(cachePaths, primaryKey, {
                uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize)
            });
            core.info(`Cache saved with key: ${primaryKey}`);
        } catch (error) {
            if (error.name === cache.ValidationError.name) {
                throw error;