diff --git a/.github/workflows/test-java-os-mix.yml b/.github/workflows/test-java-os-mix.yml index aa057ecb..97a9ddde 100644 --- a/.github/workflows/test-java-os-mix.yml +++ b/.github/workflows/test-java-os-mix.yml @@ -39,7 +39,7 @@ jobs: distribution: temurin java-version: ${{ matrix.java-version }} - - name: Execute integration test (on Unixes) + - name: Execute integration test run: | uname -a ./gradlew --version diff --git a/build.gradle b/build.gradle index 9d53f00c..f4407abb 100644 --- a/build.gradle +++ b/build.gradle @@ -165,7 +165,7 @@ tasks.register("integrationTestCliOnly") { workingDir INTEGRATION_TEST_DIRECTORY_CLI file(BUILD_REPORTS_DIRECTORY).mkdirs() String hscScriptFileName = "../../htmlSanityCheck-cli/${Project.DEFAULT_BUILD_DIR_NAME}/install/hsc/bin/hsc" - commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "${hscScriptFileName}.bat" : hscScriptFileName, + commandLine System.getProperty("os.name") ==~ /Windows.*/ ? "${hscScriptFileName.replace('/', '\\')}.bat" : hscScriptFileName, "-r", BUILD_REPORTS_DIRECTORY, "../common/src/test/resources" } logger.debug "Script output: ${result}"