2023-07-18 22:17:42 +08:00

10 lines
267 B
TypeScript

import { getInput, getMultilineInput } from "@actions/core";
import { exec } from "@actions/exec";
export const push = async () => {
const cache = getInput("cache");
const paths = getMultilineInput("token");
await exec("attic", ["push", cache, ...paths]);
};