Skip to content

Commit b216760

Browse files
sturmanueokande
authored andcommitted
feat: Add chrome-path output (#327)
1 parent 8605f32 commit b216760

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ inputs:
1010
outputs:
1111
chrome-version:
1212
description: 'The installed Google Chrome/Chromium version. Useful when given a latest version.'
13+
chrome-path:
14+
description: 'The installed Google Chrome/Chromium path.'
1315
runs:
1416
using: 'node16'
1517
main: 'index.js'

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ async function run(): Promise<void> {
6060
core.info(`Successfully setup chromium version ${actualVersion}`);
6161

6262
core.setOutput("chrome-version", actualVersion);
63+
core.setOutput("chrome-path", binPath);
6364
} catch (error) {
6465
if (hasErrorMessage(error)) {
6566
core.setFailed(error.message);

0 commit comments

Comments
 (0)