mirror of
https://github.com/actions/cache.git
synced 2025-07-16 20:15:13 -06:00
Allow importing save and restore without side effects
This commit is contained in:
parent
9ceee97d99
commit
b59f08bcf9
7 changed files with 175 additions and 89 deletions
|
@ -112,6 +112,4 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
run();
|
||||
|
||||
export default run;
|
||||
|
|
3
src/restore_main.ts
Normal file
3
src/restore_main.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import run from "./restore";
|
||||
|
||||
run();
|
|
@ -79,6 +79,4 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
run();
|
||||
|
||||
export default run;
|
||||
|
|
3
src/save_main.ts
Normal file
3
src/save_main.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import run from "./save";
|
||||
|
||||
run();
|
Loading…
Add table
Add a link
Reference in a new issue