From c82c48192d1ed77849b365287f51ef70ba4ad756 Mon Sep 17 00:00:00 2001 From: Andrei Medvedev Date: Fri, 15 Dec 2023 13:43:09 +0200 Subject: [PATCH] Try to run with java 11 --- .github/workflows/macos.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b112b39b4..d0775c282 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -47,20 +47,17 @@ jobs: - name: Install timeout util and java run: | brew install coreutils - brew search java brew install java11 - java -version - ls -la /opt/homebrew/Cellar/ - name: Download Selenium Server run: | wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.16.0/selenium-server-4.16.1.jar -O selenium-server.jar - name: Setup hub - run: java -jar selenium-server.jar hub > selenium-hub.log 2>&1 & + run: /usr/local/opt/openjdk@11/bin/java -jar selenium-server.jar hub > selenium-hub.log 2>&1 & - name: Setup node - run: java -jar selenium-server.jar node -I "safari" > selenium-node.log 2>&1 & + run: /usr/local/opt/openjdk@11/bin/java -jar selenium-server.jar node -I "safari" > selenium-node.log 2>&1 & - name: Run tests for macos