2019-08-03 21:55:35 -04:00
|
|
|
#!/bin/sh -l
|
|
|
|
|
|
2023-09-01 14:10:18 -04:00
|
|
|
# Use INPUT_<INPUT_NAME> to get the value of an input
|
2023-09-01 14:47:27 -04:00
|
|
|
GREETING="Hello, $INPUT_WHO_TO_GREET!"
|
2023-09-01 14:10:18 -04:00
|
|
|
|
|
|
|
|
# Use workflow commands to do things like set debug messages
|
|
|
|
|
echo "::notice file=entrypoint.sh,line=7::$GREETING"
|
|
|
|
|
|
|
|
|
|
# Write outputs to the $GITHUB_OUTPUT file
|
2024-02-22 09:27:40 -05:00
|
|
|
echo "greeting=$GREETING" >>"$GITHUB_OUTPUT"
|
2023-09-01 14:10:18 -04:00
|
|
|
|
|
|
|
|
exit 0
|