1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:19:46 +00:00

gh action env vars

This commit is contained in:
deadc0de6
2024-06-28 20:55:48 +02:00
parent 550fa227f0
commit 36be1abaa7
3 changed files with 13 additions and 13 deletions

4
tests.sh vendored
View File

@@ -6,10 +6,10 @@
set -eu -o errtrace -o pipefail
cur=$(cd "$(dirname "${0}")" && pwd)
in_cicd="${GH_WORKFLOW:-}"
in_cicd="${GITHUB_WORKFLOW:-}"
# patch TERM var in ci/cd
if [ -n "${in_cicd}" ]; then
# patch TERM var in ci/cd
if [ -z "${TERM}" ]; then
export TERM="linux"
fi