MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / IsGHA

Function IsGHA

scripts/common_codegen.py:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81# Returns true if we are running in GitHub actions
82# https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
83def IsGHA():
84 if 'GITHUB_ACTION' in os.environ:
85 return True
86 return False
87
88# Points to the directory containing the top level CMakeLists.txt
89PROJECT_SRC_DIR = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0], '..'))

Callers 1

RunShellCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected