From d73c4cefabad420e197f3fee55352f196e82fc5e Mon Sep 17 00:00:00 2001 From: Viacheslav Bocharov Date: Mon, 24 Jun 2024 11:33:01 +0300 Subject: [PATCH] Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS Signed-off-by: Viacheslav Bocharov --- lib/functions/general/github-actions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/general/github-actions.sh b/lib/functions/general/github-actions.sh index 5a6114f331..9c3b3d2b1a 100644 --- a/lib/functions/general/github-actions.sh +++ b/lib/functions/general/github-actions.sh @@ -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