mirror of
https://github.com/varunsridharan/actions-toolkit.git
synced 2025-02-24 15:43:38 +08:00
22 lines
No EOL
345 B
Bash
22 lines
No EOL
345 B
Bash
#!/bin/sh
|
|
|
|
source /gh-toolkit/shell/logger.sh
|
|
source /gh-toolkit/shell/inputvars.sh
|
|
source /gh-toolkit/shell/envars.sh
|
|
source /gh-toolkit/shell/color-log.sh
|
|
|
|
gh_set_output() {
|
|
echo "::set-output name=${1}::${2}"
|
|
}
|
|
|
|
gh_mask_output() {
|
|
echo "::add-mask::${1}"
|
|
}
|
|
|
|
is_empty_var(){
|
|
if [ -z "$1" ]; then
|
|
echo "$2"
|
|
else
|
|
echo "$1"
|
|
fi
|
|
} |