mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-15 04:46:42 +00:00
feat: add built-in caching via inputs (#89)
This commit is contained in:
committed by
GitHub
parent
a1496dd8d9
commit
fd6b0ad149
4
dist/cache-ByPW8-iO.mjs
vendored
Normal file
4
dist/cache-ByPW8-iO.mjs
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import "./semver-DmxAwBYV.mjs";
|
||||
import { restoreCache, saveCache } from "./cache-DzONlZ-I.mjs";
|
||||
|
||||
export { restoreCache };
|
||||
43177
dist/cache-DzONlZ-I.mjs
vendored
Normal file
43177
dist/cache-DzONlZ-I.mjs
vendored
Normal file
File diff suppressed because it is too large
Load Diff
20931
dist/main.mjs
vendored
20931
dist/main.mjs
vendored
File diff suppressed because one or more lines are too long
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
|
||||
17978
dist/semver-DmxAwBYV.mjs
vendored
Normal file
17978
dist/semver-DmxAwBYV.mjs
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user