Skip to content

Commit

Permalink
Release v1.6.0 at 77fb68f
Browse files Browse the repository at this point in the history
  • Loading branch information
ueokande committed Apr 21, 2024
1 parent 97349de commit 82b9ce6
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ steps:
chrome-version: 120
```

If you use the self-hosted runner, your runner may not have the required dependencies on the system.
You can install the dependencies by using the `install-dependencies` parameter.
It installs the required dependencies for the Google Chrome/Chromium to run automatically.

```yaml
steps:
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: 120
install-dependencies: true
```

### Supported version formats

The action supports the following version formats:
Expand Down Expand Up @@ -63,6 +75,8 @@ steps:

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

### Outputs

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ inputs:
The Google Chrome/Chromium version to install and use.
default: latest
required: false
install-dependencies:
description: |-
Install dependent packages for Google Chrome/Chromium (Linux only).
default: false
outputs:
chrome-version:
description: 'The installed Google Chrome/Chromium version. Useful when given a latest version.'
Expand Down

0 comments on commit 82b9ce6

Please sign in to comment.