browser-actions / setup-firefox

Set up your GitHub Actions workflow with a specific version of firefox
https://github.com/marketplace/actions/setup-firefox
MIT License
24 stars 20 forks source link
actions firefox github-actions

build-test

setup-firefox

This action sets by Firefox for use in actions by:

Usage

See action.yml

Basic usage:

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

Use in the matrix:

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