From 21620dd981ead1dbacdd86ba041c0bc6ed393ae9 Mon Sep 17 00:00:00 2001 From: Christian Stein Date: Sat, 27 Mar 2021 20:26:23 +0100 Subject: [PATCH] Fix Windows run by wrapping argument in double quotes --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c92e4a8..e2b1184 100644 --- a/action.yml +++ b/action.yml @@ -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'