Update config to use properly named input param

This commit is contained in:
Chris Oloff 2025-01-01 16:37:06 +02:00
parent edcc936564
commit e79d57928a
2 changed files with 7 additions and 6 deletions

View File

@ -2,15 +2,15 @@
name: "Hello World"
description: "Greet someone and record the time"
inputs:
who-to-greet: # id of input
description: "Who to greet"
kust_config: # id of input
description: "the kustomization configuration, e.g. kustomize/overlays/testing"
required: true
default: "World"
default: "kustomize/overlays/testing"
outputs:
time: # id of output
description: "The time we greeted you"
description: "The time we started"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.who-to-greet }}
- ${{ inputs.kust_config }}

View File

@ -1,6 +1,7 @@
#!/bin/sh -l
echo "Hello $1"
set -e # fail if any command fails
time=$(date)
echo "time=$time" >>"$GITHUB_OUTPUT"
echo "env:"