Skip to content

Commit

Permalink
fix: handle quotes in args
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chadwell <me@jedevc.com>
  • Loading branch information
jedevc committed Nov 11, 2024
1 parent b292eff commit e5153f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5153f5

Please sign in to comment.