Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBB authored Dec 5, 2024
1 parent e3744ae commit 6cc7492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ async function main() {

try {
if (process.platform == "linux") {
await exec.exec("sudo apt-get update && sudo apt-get install -y x11-utils xvfb");
await exec.exec("sudo apt-get update");
await exec.exec("sudo apt-get install -y x11-utils xvfb");
}

const commands = core.getInput('run', { required: true }).split("\n");
Expand Down

0 comments on commit 6cc7492

Please sign in to comment.