Skip to content

Commit 4a8582e

Browse files
committed
missed the !=
1 parent c70c3bc commit 4a8582e

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

.github/workflows/dotnet-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
rm "$env:EdgeWebDriver" -r -v
3939
rm "$env:GeckoWebDriver" -r -v
4040
- name: Remove driver directories Non-Windows
41-
if: matrix.os != 'windows-latest'
41+
if: matrix.os != 'windows'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
4444
- name: Setup Chrome
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
edge-version: stable
5757
- name: Start Xvfb
58-
if: matrix.os == ubuntu'
58+
if: matrix.os == ubuntu
5959
run: Xvfb :99 &
6060
- name: Set up .Net Stable
6161
if: matrix.release == 'stable'
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
7373
- name: Update Nightly version non-Windows
74-
if: matrix.release == 'nightly' && matrix.os != 'windows-latest'
74+
if: matrix.release == 'nightly' && matrix.os != 'windows'
7575
run:
7676
|
7777
latest_nightly=$(./scripts/latest-nightly-version.sh nuget Selenium.WebDriver)

.github/workflows/java-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
rm "$env:EdgeWebDriver" -r -v
3939
rm "$env:GeckoWebDriver" -r -v
4040
- name: Remove driver directories Non-Windows
41-
if: matrix.os != 'windows-latest'
41+
if: matrix.os != 'windows'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
4444
- name: Setup Chrome
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
edge-version: stable
5757
- name: Start Xvfb
58-
if: matrix.os == ubuntu'
58+
if: matrix.os == ubuntu
5959
run: Xvfb :99 &
6060
- name: Set up Java
6161
uses: actions/setup-java@v4
@@ -72,7 +72,7 @@ jobs:
7272
cd examples/java
7373
mvn -B test
7474
- name: Run Tests Nightly Linux/macOS
75-
if: matrix.release == 'nightly' && matrix.os != 'windows-latest'
75+
if: matrix.release == 'nightly' && matrix.os != 'windows'
7676
uses: nick-invision/[email protected]
7777
with:
7878
timeout_minutes: 20

.github/workflows/js-examples.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
edge-version: stable
4343
id: setup-edge
4444
- name: Install Firefox for set binary test
45-
if: matrix.os != 'windows-latest'
45+
if: matrix.os != 'windows'
4646
uses: browser-actions/setup-firefox@v1
4747
with:
4848
firefox-version: latest
@@ -60,7 +60,7 @@ jobs:
6060
echo "EDGE_BIN=/Users/runner/hostedtoolcache/msedge/stable/x64/Contents/MacOS/Microsoft Edge" >> "$GITHUB_ENV"
6161
echo "FF_BIN=/Users/runner/hostedtoolcache/firefox/latest/x64/Contents/MacOS/firefox" >> "$GITHUB_ENV"
6262
- name: Set ENV Linux
63-
if: matrix.os == ubuntu'
63+
if: matrix.os == ubuntu
6464
run: |
6565
echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV"
6666
echo "EDGE_BIN=/opt/hostedtoolcache/msedge/stable/x64/msedge" >> "$GITHUB_ENV"
@@ -72,11 +72,11 @@ jobs:
7272
rm "$env:EdgeWebDriver" -r -v
7373
rm "$env:GeckoWebDriver" -r -v
7474
- name: Remove driver directories Non-Windows
75-
if: matrix.os != 'windows-latest'
75+
if: matrix.os != 'windows'
7676
run: |
7777
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
7878
- name: Start Xvfb
79-
if: matrix.os == ubuntu'
79+
if: matrix.os == ubuntu
8080
run: Xvfb :99 &
8181
- name: Setup Node Stable
8282
if: matrix.release == 'stable'
@@ -90,7 +90,7 @@ jobs:
9090
node-version: '18.x'
9191
registry-url: 'https://npm.pkg.github.com'
9292
- name: Use Nightly package.json in Ubuntu/macOS
93-
if: matrix.release == 'nightly' && matrix.os != 'windows-latest'
93+
if: matrix.release == 'nightly' && matrix.os != 'windows'
9494
run:
9595
|
9696
latest_nightly=$(./scripts/latest-nightly-version.sh npm selenium-webdriver)

.github/workflows/kotlin-examples.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
edge-version: stable
4242
id: setup-edge
4343
- name: Install Firefox for set binary test
44-
if: matrix.os != 'windows-latest'
44+
if: matrix.os != 'windows'
4545
uses: browser-actions/setup-firefox@v1
4646
with:
4747
firefox-version: latest
@@ -59,7 +59,7 @@ jobs:
5959
echo "EDGE_BIN=/Users/runner/hostedtoolcache/msedge/stable/x64/Contents/MacOS/Microsoft Edge" >> "$GITHUB_ENV"
6060
echo "FF_BIN=/Users/runner/hostedtoolcache/firefox/latest/x64/Contents/MacOS/firefox" >> "$GITHUB_ENV"
6161
- name: Set ENV Linux
62-
if: matrix.os == ubuntu'
62+
if: matrix.os == ubuntu
6363
run: |
6464
echo "CHROME_BIN=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV"
6565
echo "EDGE_BIN=/opt/hostedtoolcache/msedge/stable/x64/msedge" >> "$GITHUB_ENV"
@@ -71,11 +71,11 @@ jobs:
7171
rm "$env:EdgeWebDriver" -r -v
7272
rm "$env:GeckoWebDriver" -r -v
7373
- name: Remove driver directories Non-Windows
74-
if: matrix.os != 'windows-latest'
74+
if: matrix.os != 'windows'
7575
run: |
7676
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
7777
- name: Start Xvfb
78-
if: matrix.os == ubuntu'
78+
if: matrix.os == ubuntu
7979
run: Xvfb :99 &
8080
- name: Set up Java
8181
uses: actions/setup-java@v4

.github/workflows/python-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
rm "$env:EdgeWebDriver" -r -v
3939
rm "$env:GeckoWebDriver" -r -v
4040
- name: Remove driver directories Non-Windows
41-
if: matrix.os != 'windows-latest'
41+
if: matrix.os != 'windows'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
4444
- name: Setup Chrome
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
edge-version: stable
5757
- name: Start Xvfb
58-
if: matrix.os == ubuntu'
58+
if: matrix.os == ubuntu
5959
run: Xvfb :99 &
6060
- name: Set up Python
6161
uses: actions/setup-python@v5

.github/workflows/ruby-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
rm "$env:EdgeWebDriver" -r -v
3939
rm "$env:GeckoWebDriver" -r -v
4040
- name: Remove driver directories Non-Windows
41-
if: matrix.os != 'windows-latest'
41+
if: matrix.os != 'windows'
4242
run: |
4343
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
4444
- name: Setup Chrome
@@ -55,15 +55,15 @@ jobs:
5555
with:
5656
edge-version: stable
5757
- name: Start Xvfb
58-
if: matrix.os == ubuntu'
58+
if: matrix.os == ubuntu
5959
run: Xvfb :99 &
6060
- name: Set up Ruby
6161
uses: ruby/setup-ruby@v1
6262
with:
6363
ruby-version: 3.0
6464
bundler-cache: true
6565
- name: Install Gems Nightly non-Windows
66-
if: matrix.release == 'nightly' && matrix.os != 'windows-latest'
66+
if: matrix.release == 'nightly' && matrix.os != 'windows'
6767
run:
6868
|
6969
latest_nightly_webdriver=$(./scripts/latest-nightly-version.sh rubygems selenium-webdriver)

0 commit comments

Comments
 (0)