diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 3e17d55..61a418e 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -19,13 +19,12 @@ jobs: - name: Run action with args uses: ./ with: - args: >- - "-Dsonar.someArg=a value with spaces" -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.someArg=aValue -Dsonar.scanner.dumpToFile=./output.properties env: SONAR_HOST_URL: http://not_actually_used - name: Assert run: | - ./test/assertFileContains ./output.properties "sonar.someArg=a value with spaces" + ./test/assertFileContains ./output.properties "sonar.someArg=aValue" projectBaseDirInputTest: name: > 'projectBaseDir' input diff --git a/entrypoint.sh b/entrypoint.sh index 5bca08c..a687be7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -32,6 +32,5 @@ fi unset JAVA_HOME -eval "args=(${INPUT_ARGS})" -sonar-scanner $debug_flag "-Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR}" "${args[@]}" +sonar-scanner $debug_flag -Dsonar.projectBaseDir=${INPUT_PROJECTBASEDIR} ${INPUT_ARGS}