From 819ecd42fbf2858379a973e5e63661285633c8b8 Mon Sep 17 00:00:00 2001 From: Aarav Bundela <86971097+Ab20zip@users.noreply.github.com> Date: Fri, 21 Jun 2024 18:09:51 +0530 Subject: [PATCH] Fix shell in workflow --- .github/actions/common-setup/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/common-setup/action.yml b/.github/actions/common-setup/action.yml index d28bb82..e9fcd8d 100644 --- a/.github/actions/common-setup/action.yml +++ b/.github/actions/common-setup/action.yml @@ -12,6 +12,7 @@ runs: steps: - name: Set up JDK for Linux and macOS if: runner.os != 'Windows' + shell: bash run: | semeru_version="jdk-${{ matrix.java-version }}" if [ ${{ matrix.os }} = "ubuntu-latest" ]; then @@ -28,6 +29,7 @@ runs: - name: Set up JDK for Windows if: runner.os == 'Windows' + shell: cmd run: | $jdk_version = "${{ matrix.java-version }}" $url = "https://github.com/ibmruntimes/semeru{semeru-version}-binaries/releases/download/jdk-$jdk_version%2B35_openj9-0.24.0/OpenJDK${jdk_version}U-jdk_x64_windows_openj9_0.24.0.zip"