mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
test
This commit is contained in:
parent
ab0e7714ce
commit
af1210e2a3
6 changed files with 105 additions and 75 deletions
7
src/restore-step.ts
Normal file
7
src/restore-step.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import restore from "./restore";
|
||||
|
||||
async function runRestoreStep(): Promise<void> {
|
||||
await restore();
|
||||
}
|
||||
|
||||
runRestoreStep();
|
|
@ -76,6 +76,4 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
// run();
|
||||
|
||||
export default run;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as core from "@actions/core";
|
||||
|
||||
import { Inputs } from "./constants";
|
||||
import restore from "./restore";
|
||||
import { Inputs } from "../constants";
|
||||
import restore from "../restore";
|
||||
|
||||
async function runRestoreAction(): Promise<void> {
|
||||
if (core.getInput(Inputs.SaveOnAnyFailure) != "") {
|
Loading…
Add table
Add a link
Reference in a new issue