diff --git a/abcli/__init__.py b/abcli/__init__.py index 2276e23a..7da617a6 100644 --- a/abcli/__init__.py +++ b/abcli/__init__.py @@ -2,7 +2,7 @@ NAME = "abcli" -VERSION = "7.2963.1" +VERSION = "7.2964.1" DESCRIPTION = "🚀 a language to speak AI." diff --git a/abcli/modules/host/functions.py b/abcli/modules/host/functions.py index 8ec7456f..d13ff230 100644 --- a/abcli/modules/host/functions.py +++ b/abcli/modules/host/functions.py @@ -91,6 +91,10 @@ def is_ec2(): return os.getenv("abcli_is_ec2", "false") == "true" +def is_github_workflow(): + return os.getenv("abcli_is_github_workflow", "false") == "true" + + def is_headless(): return os.getenv("abcli_is_headless", "false") == "true" diff --git a/abcli/plugins/graphics/constants.py b/abcli/plugins/graphics/constants.py index 383d8361..b37443e5 100644 --- a/abcli/plugins/graphics/constants.py +++ b/abcli/plugins/graphics/constants.py @@ -29,6 +29,7 @@ elif ( not host.is_ec2() and not host.is_docker() + and not host.is_github_workflow() and not host.is_jupyter() and not host.is_aws_batch() ): diff --git a/bash/bootstrap/system.sh b/bash/bootstrap/system.sh index 51f895ab..de594d81 100755 --- a/bash/bootstrap/system.sh +++ b/bash/bootstrap/system.sh @@ -5,6 +5,7 @@ export abcli_is_amazon_linux=false export abcli_is_cloudshell=false export abcli_is_docker=false export abcli_is_ec2=false +export abcli_is_github_workflow=false export abcli_is_jetson=false export abcli_is_headless=false export abcli_is_mac=false