mirror of
https://github.com/dagger/dagger-for-github.git
synced 2025-12-31 12:49:46 +11:00
set args from gh variables
Signed-off-by: kpenfound <kyle@dagger.io>
This commit is contained in:
parent
40f61d6b3e
commit
05e5123a33
1 changed files with 3 additions and 2 deletions
|
|
@ -80,14 +80,15 @@ runs:
|
|||
INPUT_MODULE: ${{ inputs.module }}
|
||||
run: |
|
||||
tmpout=$(mktemp)
|
||||
INPUT_ARGS="${INPUT_ARGS:-$INPUT_CALL}"
|
||||
ARGS="${{ inputs.args }}"
|
||||
ARGS="${INPUT_ARGS:-"${{ inputs.call }}"}"
|
||||
cd ${{ inputs.workdir }} && { \
|
||||
DAGGER_CLOUD_TOKEN=${{ inputs.cloud-token }} \
|
||||
dagger \
|
||||
${{ inputs.dagger-flags }} \
|
||||
${{ inputs.verb }} \
|
||||
${INPUT_MODULE:+-m $INPUT_MODULE} \
|
||||
$INPUT_ARGS; } | tee "${tmpout}"
|
||||
$ARGS; } | tee "${tmpout}"
|
||||
|
||||
(echo -n "stdout=" && cat "${tmpout}") >> "$GITHUB_OUTPUT"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue