Update config to use properly named input param
This commit is contained in:
parent
edcc936564
commit
e79d57928a
10
action.yml
10
action.yml
@ -2,15 +2,15 @@
|
|||||||
name: "Hello World"
|
name: "Hello World"
|
||||||
description: "Greet someone and record the time"
|
description: "Greet someone and record the time"
|
||||||
inputs:
|
inputs:
|
||||||
who-to-greet: # id of input
|
kust_config: # id of input
|
||||||
description: "Who to greet"
|
description: "the kustomization configuration, e.g. kustomize/overlays/testing"
|
||||||
required: true
|
required: true
|
||||||
default: "World"
|
default: "kustomize/overlays/testing"
|
||||||
outputs:
|
outputs:
|
||||||
time: # id of output
|
time: # id of output
|
||||||
description: "The time we greeted you"
|
description: "The time we started"
|
||||||
runs:
|
runs:
|
||||||
using: "docker"
|
using: "docker"
|
||||||
image: "Dockerfile"
|
image: "Dockerfile"
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.who-to-greet }}
|
- ${{ inputs.kust_config }}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
echo "Hello $1"
|
set -e # fail if any command fails
|
||||||
|
|
||||||
time=$(date)
|
time=$(date)
|
||||||
echo "time=$time" >>"$GITHUB_OUTPUT"
|
echo "time=$time" >>"$GITHUB_OUTPUT"
|
||||||
echo "env:"
|
echo "env:"
|
||||||
|
Loading…
Reference in New Issue
Block a user