Deploy version 1.0.2
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -26355,7 +26355,8 @@ async function saveCache(key, paths, cmprss_lvl = 3) {
|
|||||||
const endTime = Date.now();
|
const endTime = Date.now();
|
||||||
const durationSeconds = ((endTime - startTime) / 1e3).toFixed(2);
|
const durationSeconds = ((endTime - startTime) / 1e3).toFixed(2);
|
||||||
core.info(
|
core.info(
|
||||||
`\u2705 Cache saved successfully (${formatSize(archiveSize)}, ${durationSeconds} s)`
|
`\u2705 Cache saved successfully (${formatSize(archiveSize)}, ${durationSeconds} s)
|
||||||
|
`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26392,7 +26393,7 @@ async function restoreCache(key) {
|
|||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
if (core3.getState("isPost") === "true") {
|
if (core3.getState("isPost") === "true") {
|
||||||
core3.info("\u{1F9F9} Post-job: Saving cache...");
|
core3.info("\n\u{1F9F9} Post-job: Saving cache...");
|
||||||
const key = core3.getState("key");
|
const key = core3.getState("key");
|
||||||
const paths = JSON.parse(core3.getState("paths") || "[]");
|
const paths = JSON.parse(core3.getState("paths") || "[]");
|
||||||
const cmprss_lvl = parseInt(
|
const cmprss_lvl = parseInt(
|
||||||
|
Reference in New Issue
Block a user