Guard GITHUB_* variables by GITHUB_ACTIONS.

This commit is contained in:
Markus Reiter 2023-05-19 19:42:51 +02:00
parent e85016230e
commit f320139fca
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -165,7 +165,7 @@ do
FILTERED_ENV+=("${VAR}=${!VAR}") FILTERED_ENV+=("${VAR}=${!VAR}")
done done
if [[ -n "${CI:-}" ]] if [[ -n "${GITHUB_ACTIONS:-}" ]]
then then
for VAR in "${!GITHUB_@}" for VAR in "${!GITHUB_@}"
do do