Fix Windows run by wrapping argument in double quotes

This commit is contained in:
Christian Stein 2021-03-27 20:26:23 +01:00
parent ea8307908b
commit 21620dd981

View file

@ -27,7 +27,7 @@ runs:
echo "::group::Download JReleaser"
JAR="jreleaser-tool-provider-${{ inputs.version }}.jar"
URL="https://github.com/jreleaser/jreleaser/releases/download/${{ inputs.version }}/$JAR"
java ${{ github.action_path }}/copy.java $URL $JAR
java "${{ github.action_path }}/copy.java" $URL $JAR
java -jar $JAR --version
echo "::endgroup::"
- name: 'Execute JReleaser'