Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/browser-actions/setup-firefox

Set up your GitHub Actions workflow with a specific version of firefox
https://github.com/browser-actions/setup-firefox

actions firefox github-actions

Last synced: 4 days ago
JSON representation

Set up your GitHub Actions workflow with a specific version of firefox

Awesome Lists containing this project

README

        

![build-test](https://github.com/browser-actions/setup-firefox/workflows/build-test/badge.svg)

# setup-firefox

This action sets by Firefox for use in actions by:

- downloading and caching a version of Firefox by version and add to PATH

## Usage

See [action.yml](action.yml)

Basic usage:

```yaml
steps:
- uses: browser-actions/setup-firefox@v1
- run: firefox --version
```

Use in the matrix:
```yaml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
firefox: [ '84.0', 'devedition-84.0b1', 'latest-beta', 'latest-devedition', 'latest-nightly', 'latest-esr', 'latest' ]
name: Firefox ${{ matrix.firefox }} sample
steps:
- name: Setup firefox
id: setup-firefox
uses: browser-actions/setup-firefox@v1
with:
firefox-version: ${{ matrix.firefox }}
- run: |
echo Installed firefox versions: ${{ steps.setup-firefox.outputs.firefox-version }}
${{ steps.setup-firefox.outputs.firefox-path }} --version
```

## License

[MIT](LICENSE)