setup-easy-setup
Version:
setup-easy-setup
12 lines (11 loc) • 367 B
JavaScript
import { addPath, getInput, setOutput } from "@actions/core";
import { setup } from "./setup";
setup({
repo: getInput("repo"),
version: getInput("version"),
}).then(({ installDir, version, downloadUrl }) => {
addPath(installDir);
setOutput("version", version);
setOutput("download-url", downloadUrl);
setOutput("install-dir", installDir);
});