Skip to content

Commit 05e5123

Browse files
committed
set args from gh variables
Signed-off-by: kpenfound <[email protected]>
1 parent 40f61d6 commit 05e5123

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,15 @@ runs:
8080
INPUT_MODULE: ${{ inputs.module }}
8181
run: |
8282
tmpout=$(mktemp)
83-
INPUT_ARGS="${INPUT_ARGS:-$INPUT_CALL}"
83+
ARGS="${{ inputs.args }}"
84+
ARGS="${INPUT_ARGS:-"${{ inputs.call }}"}"
8485
cd ${{ inputs.workdir }} && { \
8586
DAGGER_CLOUD_TOKEN=${{ inputs.cloud-token }} \
8687
dagger \
8788
${{ inputs.dagger-flags }} \
8889
${{ inputs.verb }} \
8990
${INPUT_MODULE:+-m $INPUT_MODULE} \
90-
$INPUT_ARGS; } | tee "${tmpout}"
91+
$ARGS; } | tee "${tmpout}"
9192
9293
(echo -n "stdout=" && cat "${tmpout}") >> "$GITHUB_OUTPUT"
9394

0 commit comments

Comments
 (0)