From e3744ae4a218659b10070583df14589cabc8d534 Mon Sep 17 00:00:00 2001 From: Gabriel Basilio Date: Thu, 5 Dec 2024 21:31:07 +0100 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1a37f3f..75ec39d 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ async function main() { try { if (process.platform == "linux") { - await exec.exec("sudo apt-get install -y xvfb"); + await exec.exec("sudo apt-get update && sudo apt-get install -y x11-utils xvfb"); } const commands = core.getInput('run', { required: true }).split("\n");