mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-11 02:46:43 +00:00
feat: add built-in caching via inputs (#89)
This commit is contained in:
committed by
GitHub
parent
a1496dd8d9
commit
fd6b0ad149
@@ -9,9 +9,16 @@ await new Deno.Command(Deno.execPath(), {
|
||||
stderr: "inherit",
|
||||
}).output();
|
||||
|
||||
try {
|
||||
Deno.removeSync(join(import.meta.dirname!, "../dist"), { recursive: true });
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
|
||||
await build({
|
||||
entry: {
|
||||
main: "src/main.ts",
|
||||
post: "src/post.ts",
|
||||
},
|
||||
target: "node20.19",
|
||||
platform: "node",
|
||||
|
||||
Reference in New Issue
Block a user