Disable build cache for Github Actions

This commit is contained in:
Ivan Kravets
2020-04-26 12:58:32 +03:00
parent 560699fc6b
commit 31ca47837d
2 changed files with 9 additions and 4 deletions

View File

@@ -315,7 +315,15 @@ def on_exception(e):
def measure_ci():
event = {"category": "CI", "action": "NoName", "label": None}
known_cis = ("TRAVIS", "APPVEYOR", "GITLAB_CI", "CIRCLECI", "SHIPPABLE", "DRONE")
known_cis = (
"GITHUB_ACTIONS",
"TRAVIS",
"APPVEYOR",
"GITLAB_CI",
"CIRCLECI",
"SHIPPABLE",
"DRONE",
)
for name in known_cis:
if os.getenv(name, "false").lower() == "true":
event["action"] = name