From b7d21719c405866e1ebc6597cba561c577850ae6 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Oct 2019 00:24:36 +0800 Subject: disable stats on github action ci --- xmake/actions/build/statistics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/actions/build/statistics.lua b/xmake/actions/build/statistics.lua index f42eb01af..8c1840139 100644 --- a/xmake/actions/build/statistics.lua +++ b/xmake/actions/build/statistics.lua @@ -36,7 +36,7 @@ function _is_enabled() end -- is in ci(travis/appveyor/...)? need not post it - local ci = (os.getenv("CI") or ""):lower() + local ci = (os.getenv("CI") or os.getenv("GITHUB_ACTIONS") or ""):lower() if ci == "true" then os.setenv("XMAKE_STATS", "false") return false -- cgit v1.3.1