Skip to content

Commit 0961eca

Browse files
committed
fix: replace bash if condition
1 parent 9f21fec commit 0961eca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,11 @@ jobs:
138138
java-version: '21'
139139
distribution: 'temurin'
140140

141-
- name: Run Tests
142-
run: |
143-
if [ "${{ matrix.os }}" = "linux" ]; then
144-
export NO_AT_BRIDGE=1
145-
fi
146-
mvn verify -Djarsigner.skip=true -DskipTests=false -DtestWorkspace="${{ matrix.testWorkspace }}"
141+
- name: Set NO_AT_BRIDGE
142+
if: runner.os == 'linux'
143+
run: export NO_AT_BRIDGE=1
144+
- name: Run Maven
145+
run: mvn verify -Djarsigner.skip=true -DskipTests=false -DtestWorkspace="${{ matrix.testWorkspace }}"
147146

148147
- name: Publish Test Reports
149148
if: ${{ always() }}

0 commit comments

Comments
 (0)