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

13 lines
320 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
echo "greeting=$GREETING" >> "$GITHUB_OUTPUT"
exit 0