print commands before running
Some checks failed
CI / build (ubuntu-latest) (push) Failing after 3s
CI / build (macos-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled

This commit is contained in:
2025-09-09 09:26:56 -05:00
parent b175fc8e0c
commit 4d8fd40b35

View File

@@ -2,6 +2,8 @@ const { execSync } = require("child_process");
const core = require("@actions/core");
const version = core.getInput("lix-version");
execSync("npm install -g yarn");
console.log("npx yarn global add lix" + (version ? `@${version}` : ""));
execSync("npx yarn global add lix" + (version ? `@${version}` : ""));
console.log("npx yarn global bin");
const path = execSync("npx yarn global bin").toString().replaceAll("\n", "");
core.addPath(path);