Deploy version 1.0.2

This commit is contained in:
Gitea Actions
2025-05-01 10:02:19 +00:00
parent 79c70b753f
commit 75e2675d7b

2
dist/index.js vendored
View File

@@ -26410,6 +26410,7 @@ async function run() {
try {
if (core4.getState("isPost") === "true") {
core4.info("\n\u{1F9F9} Post-job: Saving cache...");
getToken();
const key = core4.getState("key");
const paths = JSON.parse(core4.getState("paths") || "[]");
const compression_level = parseInt(
@@ -26425,6 +26426,7 @@ async function run() {
await saveCache(key, paths, compression_level);
} else {
core4.info("\u{1F680} Pre-job: Restoring cache...");
getToken();
const key = core4.getInput("key", { required: true });
const paths = core4.getMultilineInput("paths", { required: true }).filter(
(p) => p.trim() !== ""