Skip to content

Commit 5f22f2e

Browse files
committed
[Build] Run mavenBuild-workflow with CMD shell on Windows
1 parent dac6f30 commit 5f22f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/mavenBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
- { name: Windows, os: windows-latest }
4848
- { name: MacOS, os: macos-13 }
4949
defaults:
50-
run: # Run always on bash, because powershell (the Windows default) interprets dots in arguments differently
51-
shell: bash
50+
run: # Run on bash or cmd, because powershell (the Windows default) interprets dots in arguments differently
51+
shell: ${{ matrix.config.name == 'Windows' && 'cmd' || 'bash' }}
5252

5353
name: Verify ${{ matrix.config.name }}
5454
steps:

0 commit comments

Comments
 (0)