diff options
| -rw-r--r-- | xmake/actions/build/statistics.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
