Skip to content

Commit 765704f

Browse files
authored
[java] update CI to use selenium manager (#11190)
1 parent 78dfc61 commit 765704f

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/ci-java.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,15 @@ jobs:
167167
uses: actions/setup-java@v1
168168
with:
169169
java-version: '11'
170-
- name: Setup Firefox and GeckoDriver
171-
uses: ./.github/actions/setup-firefox
170+
- name: Setup Firefox
171+
uses: abhi1693/setup-[email protected]
172172
with:
173+
browser: firefox
173174
version: ${{ matrix.version }}
174175
if: |
175176
matrix.browser == 'firefox'
176-
- name: Setup Chrome and ChromeDriver
177-
uses: ./.github/actions/setup-chrome
177+
- name: Setup Chrome
178+
uses: browser-actions/setup-chrome@latest
178179
with:
179180
version: ${{ matrix.version }}
180181
if: |
@@ -223,14 +224,15 @@ jobs:
223224
uses: actions/setup-java@v1
224225
with:
225226
java-version: '11'
226-
- name: Setup Firefox and GeckoDriver
227-
uses: ./.github/actions/setup-firefox
227+
- name: Setup Firefox
228+
uses: abhi1693/setup-[email protected]
228229
with:
230+
browser: firefox
229231
version: ${{ matrix.version }}
230232
if: |
231233
matrix.browser == 'firefox'
232-
- name: Setup Chrome and ChromeDriver
233-
uses: ./.github/actions/setup-chrome
234+
- name: Setup Chrome
235+
uses: browser-actions/setup-chrome@latest
234236
with:
235237
version: ${{ matrix.version }}
236238
if: |
@@ -270,10 +272,13 @@ jobs:
270272
uses: actions/setup-java@v1
271273
with:
272274
java-version: '11'
273-
- name: Setup Firefox and GeckoDriver
274-
uses: ./.github/actions/setup-firefox
275+
- name: Setup Firefox
276+
uses: abhi1693/setup-[email protected]
275277
with:
278+
browser: firefox
276279
version: latest
280+
if: |
281+
matrix.browser == 'firefox'
277282
- name: Start XVFB
278283
run: Xvfb :99 &
279284
- name: Start Fluxbox

0 commit comments

Comments
 (0)