mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 12:49:46 +11:00
fix: handle quotes in args
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
b292effaa3
commit
e5153f5610
1 changed files with 1 additions and 3 deletions
|
|
@ -80,15 +80,13 @@ runs:
|
||||||
INPUT_MODULE: ${{ inputs.module }}
|
INPUT_MODULE: ${{ inputs.module }}
|
||||||
run: |
|
run: |
|
||||||
tmpout=$(mktemp)
|
tmpout=$(mktemp)
|
||||||
ARGS="${{ inputs.args }}"
|
|
||||||
ARGS="${ARGS:-"${{ inputs.call }}"}"
|
|
||||||
cd ${{ inputs.workdir }} && { \
|
cd ${{ inputs.workdir }} && { \
|
||||||
DAGGER_CLOUD_TOKEN=${{ inputs.cloud-token }} \
|
DAGGER_CLOUD_TOKEN=${{ inputs.cloud-token }} \
|
||||||
dagger \
|
dagger \
|
||||||
${{ inputs.dagger-flags }} \
|
${{ inputs.dagger-flags }} \
|
||||||
${{ inputs.verb }} \
|
${{ inputs.verb }} \
|
||||||
${INPUT_MODULE:+-m $INPUT_MODULE} \
|
${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
|
# we need a delim that doesn't appear in the output - a hash of the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue