Skip to content

Commit 8e195b6

Browse files
committed
Revert "[Build] Replace use of coactions/setup-xvfb"
This reverts commit bb44f9a.
1 parent bb44f9a commit 8e195b6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
- { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
3535
name: Verify ${{ matrix.config.name }} with Java-${{ matrix.java }}
3636
runs-on: ${{ matrix.config.os }}
37-
defaults:
38-
run:
39-
shell: ${{ contains(matrix.config.native, 'win32') && 'cmd' || 'bash' }}
4037
steps:
4138
- name: checkout swt
4239
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
@@ -63,8 +60,9 @@ jobs:
6360
with:
6461
maven-version: 3.9.9
6562
- name: Build
66-
run: >-
67-
${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
63+
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
64+
with:
65+
run: >-
6866
mvn --batch-mode -V -U -e
6967
--threads 1C
7068
-DforkCount=1
@@ -79,9 +77,10 @@ jobs:
7977
clean install
8078
- name: Performance tests
8179
if: contains(github.event.pull_request.labels.*.name, 'performance')
82-
working-directory: tests/org.eclipse.swt.tests
83-
run: >-
84-
${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
80+
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
81+
with:
82+
working-directory: tests/org.eclipse.swt.tests
83+
run: >-
8584
mvn --batch-mode -V -U -e
8685
-DforkCount=1
8786
-Dcompare-version-with-baselines.skip=true

0 commit comments

Comments
 (0)