From 8cdc5809dcc13c3b8c3e6bca853d839e0f4bce9c Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Thu, 16 May 2024 10:11:18 +0900 Subject: [PATCH] Add PATH --- lib/setup-chromedriver.js | 1 + src/setup-chromedriver.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/setup-chromedriver.js b/lib/setup-chromedriver.js index c53ce6d2..b0e25073 100644 --- a/lib/setup-chromedriver.js +++ b/lib/setup-chromedriver.js @@ -41,6 +41,7 @@ function run() { console.log(`##setup chromedriver`); const version = core.getInput("chromedriver-version", { required: false }); const plat = process.platform; + core.addPath('/usr/local/bin'); let arch = "linux"; switch (plat) { case "win32": diff --git a/src/setup-chromedriver.ts b/src/setup-chromedriver.ts index 5727bccd..4d661bbf 100644 --- a/src/setup-chromedriver.ts +++ b/src/setup-chromedriver.ts @@ -7,6 +7,7 @@ async function run() { console.log(`##setup chromedriver`); const version = core.getInput("chromedriver-version", { required: false }); const plat = process.platform; + core.addPath('/usr/local/bin'); let arch = "linux"; switch (plat) { case "win32":