From ef26380257287628a5cdea677db13e7f11f8f1c0 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Mon, 12 May 2025 20:48:26 +0200 Subject: [PATCH] [Build] Run mavenBuild-workflow with CMD shell on Windows --- .github/workflows/mavenBuild.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mavenBuild.yml b/.github/workflows/mavenBuild.yml index 70019d9d85e..ddf79be941f 100644 --- a/.github/workflows/mavenBuild.yml +++ b/.github/workflows/mavenBuild.yml @@ -47,8 +47,8 @@ jobs: - { name: Windows, os: windows-latest } - { name: MacOS, os: macos-13 } defaults: - run: # Run always on bash, because powershell (the Windows default) interprets dots in arguments differently - shell: bash + run: # Run on bash/cmd, because powershell (the Windows default) interprets dots in arguments differently + shell: ${{ matrix.config.name == 'Windows' && 'cmd' || 'bash' }} name: Verify ${{ matrix.config.name }} steps: