Files
hello-world-docker-action/entrypoint.sh

13 lines
319 B
Bash
Raw Normal View History

2019-08-03 21:11:09 -07:00
#!/bin/sh -l
2023-09-15 11:32:44 -04:00
# Use INPUT_<INPUT_NAME> to get the value of an input
GREETING="Hello, $INPUT_WHO_TO_GREET!"
# 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:49:41 -05:00
echo "greeting=$GREETING" >>"$GITHUB_OUTPUT"
2023-09-15 11:32:44 -04:00
exit 0