mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-11 10:56:49 +00:00
feat: add built-in caching via inputs (#89)
This commit is contained in:
committed by
GitHub
parent
a1496dd8d9
commit
fd6b0ad149
16
dist/post.mjs
vendored
Normal file
16
dist/post.mjs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { import_core } from "./semver-DmxAwBYV.mjs";
|
||||
import { saveCache } from "./cache-DzONlZ-I.mjs";
|
||||
import process from "node:process";
|
||||
|
||||
//#region src/post.ts
|
||||
async function main() {
|
||||
try {
|
||||
await saveCache();
|
||||
} catch (err) {
|
||||
import_core.setFailed(err instanceof Error ? err : String(err));
|
||||
process.exit();
|
||||
}
|
||||
}
|
||||
main();
|
||||
|
||||
//#endregion
|
||||
Reference in New Issue
Block a user