Update adding to path to new syntax

This commit is contained in:
Matt Triff 2021-12-15 20:37:52 -05:00
parent b4a6371cc8
commit 6b6fb17bca

View file

@ -79,13 +79,13 @@ jobs:
brew install geckodriver
if: matrix.browser == 'firefox' && matrix.os == 'macos-latest'
- run: echo "::add-path::$env:GeckoWebDriver"
- run: echo "$env:GeckoWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'firefox' && matrix.os == 'windows-latest'
- run: echo "::add-path::$env:IEWebDriver"
- run: echo "$env:IEWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'ie' && matrix.os == 'windows-latest'
- run: echo "::add-path::$env:ChromeWebDriver"
- run: echo "$env:ChromeWebDriver" >> $GITHUB_PATH
if: matrix.browser == 'chrome' && matrix.os == 'windows-latest'
- run: npm i --no-optional --no-audit selenium-webdriver pixelmatch pngjs