abhi1693/setup-browser

[BUG] Specifying version does not work

mp205 opened this issue · 4 comments

mp205 commented

Describe your issue:
Specifying version does not work neither for firefox, nor chrome. latest works fine

Steps to reproduce (least amount of steps as possible):

        runs-on: ubuntu-latest
        permissions:
            contents: read
            packages: read
        strategy:
            fail-fast: false
            matrix:
                browser: [
                    {name: 'chrome', version: '96.0'},
                    {name: 'firefox', version: '95.0'},
                ]
        steps:
            -   uses: abhi1693/setup-browser@v0.3.4
                with:
                    browser: ${{ matrix.browser.name }}
                    version: ${{ matrix.browser.version }}

Result:
image

image

Other details that may be helpful:

Environment information

  • Version:

From the logs you have shared, it looks like the download path does not exist. I wonder if it changed too much. I'll take a look at this probably this weekend. Meanwhile if you think you have the solution, I'll be happy to merge your changes as well.

mp205 commented

Thanks for the reply. Yes, I think the download paths no longer work, I have tried the most precise version numbers, but none of them worked. No other paths I found elsewhere worked. Unfortunately I am quite busy these days, but if I manage to figure it out I’ll happily submit a PR.

Try the release v0.3.5 for Firefox. For chrome please refer to the readme

Hi,
It's still not possible to download chrome per version number