Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
This commit is contained in:
parent
7875fce1e9
commit
d73c4cefab
@ -9,7 +9,7 @@
|
||||
|
||||
function github_actions_add_output() {
|
||||
# if CI is not GitHub Actions, do nothing
|
||||
if [[ "${CI}" != "true" ]] && [[ "${GITHUB_ACTIONS}" != "true" ]]; then
|
||||
if [[ "${GITHUB_ACTIONS}" != "true" ]]; then
|
||||
display_alert "Not running in GitHub Actions, not adding output" "'${*}'" "debug"
|
||||
return 0
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user