10 lines
267 B
TypeScript
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]);
|
|
};
|