diff options
| author | ruki <[email protected]> | 2019-10-02 00:24:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-10-01 20:27:36 +0800 |
| commit | b7d21719c405866e1ebc6597cba561c577850ae6 (patch) | |
| tree | 98c35f109eea104d90c6aaf6fd453c5914e5d2c8 | |
| parent | 9b2b6c61b782a0419591e8fd1a5bf08e06155c57 (diff) | |
disable stats on github action ci
| -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 |
