Skip to content

Commit 82b9ce6

Browse files
committed
Release v1.6.0 at 77fb68f
1 parent 97349de commit 82b9ce6

File tree

3 files changed

+398
-0
lines changed

3 files changed

+398
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ steps:
3131
chrome-version: 120
3232
```
3333

34+
If you use the self-hosted runner, your runner may not have the required dependencies on the system.
35+
You can install the dependencies by using the `install-dependencies` parameter.
36+
It installs the required dependencies for the Google Chrome/Chromium to run automatically.
37+
38+
```yaml
39+
steps:
40+
- uses: browser-actions/setup-chrome@v1
41+
with:
42+
chrome-version: 120
43+
install-dependencies: true
44+
```
45+
3446
### Supported version formats
3547

3648
The action supports the following version formats:
@@ -63,6 +75,8 @@ steps:
6375

6476
- `chrome-version`: *(Optional)* The Google Chrome/Chromium version to be installed.
6577
Default: `latest`
78+
- `install-dependencies`: *(Optional)* Install the required dependencies for the Google Chrome/Chromium to run.
79+
Default: `false`
6680

6781
### Outputs
6882

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ inputs:
77
The Google Chrome/Chromium version to install and use.
88
default: latest
99
required: false
10+
install-dependencies:
11+
description: |-
12+
Install dependent packages for Google Chrome/Chromium (Linux only).
13+
default: false
1014
outputs:
1115
chrome-version:
1216
description: 'The installed Google Chrome/Chromium version. Useful when given a latest version.'

0 commit comments

Comments
 (0)