Switch to env var for input

This commit is contained in:
Nick Alteen
2023-09-01 14:47:27 -04:00
parent db66df907b
commit 11b982c253
4 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh -l
# Use INPUT_<INPUT_NAME> to get the value of an input
GREETING="Hello, $1!"
GREETING="Hello, $INPUT_WHO_TO_GREET!"
# Use workflow commands to do things like set debug messages
echo "::notice file=entrypoint.sh,line=7::$GREETING"