From e5153f5610d82ac9f3f848f3a25ad9d696641068 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Mon, 11 Nov 2024 10:39:58 -0700 Subject: [PATCH] fix: handle quotes in args Signed-off-by: Justin Chadwell --- action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 23ea675..ab1b810 100644 --- a/action.yml +++ b/action.yml @@ -80,15 +80,13 @@ runs: INPUT_MODULE: ${{ inputs.module }} run: | tmpout=$(mktemp) - ARGS="${{ inputs.args }}" - ARGS="${ARGS:-"${{ inputs.call }}"}" cd ${{ inputs.workdir }} && { \ DAGGER_CLOUD_TOKEN=${{ inputs.cloud-token }} \ dagger \ ${{ inputs.dagger-flags }} \ ${{ inputs.verb }} \ ${INPUT_MODULE:+-m $INPUT_MODULE} \ - $ARGS; } | tee "${tmpout}" + ${{ inputs.args || inputs.call }}; } | tee "${tmpout}" { # we need a delim that doesn't appear in the output - a hash of the