File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,13 +105,18 @@ jobs:
105105 shell : bash
106106 run : |
107107 cd vm
108+ MX_ARGS=("--java-home" "${JAVA_HOME}")
108109 if [ -n "${{ inputs.env }}" ]; then
109- MX_ARGS= "--java-home \"${JAVA_HOME}\" --env \ "${{ inputs.env }}\""
110+ MX_ARGS+=( "--env" "${{ inputs.env }}")
110111 else
111- MX_ARGS="--java-home \"${JAVA_HOME}\" --dy \"${{ inputs.dynamic-imports }}\" --native-images \"${{ inputs.native-images }}\" --components \"${{ inputs.components }}\""
112+ MX_ARGS+=(
113+ "--dy" "${{ inputs.dynamic-imports }}"
114+ "--native-images" "${{ inputs.native-images }}"
115+ "--components" "${{ inputs.components }}"
116+ )
112117 fi
113- ${MX_PATH}/mx $ MX_ARGS build
114- ln -s $(${MX_PATH}/mx $ MX_ARGS graalvm-home) ${GRAALVM_HOME}
118+ ${MX_PATH}/mx "${ MX_ARGS[@]}" build
119+ ln -s $(${MX_PATH}/mx "${ MX_ARGS[@]}" graalvm-home) ${GRAALVM_HOME}
115120 - name : Show GraalVM version info
116121 shell : bash
117122 run : |
You can’t perform that action at this time.
0 commit comments