try npx call yarn
Some checks failed
CI / build (ubuntu-latest) (push) Failing after 12s
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:20:29 -05:00
parent 68846af98a
commit b175fc8e0c

View File

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