mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-09 20:42:34 +01:00
Update getenv check for github actions
This commit is contained in:
parent
b5ff791aa9
commit
36e73b2105
@ -40,7 +40,7 @@ android {
|
||||
versionName '3.1.0'
|
||||
// versionName androidGitVersion.name()
|
||||
|
||||
if (System.getenv('TRAVIS') != 'true') {
|
||||
if (System.getenv('CI') != 'true') {
|
||||
// Verification for F-Droid builds
|
||||
if (versionCode != androidGitVersion.code()) {
|
||||
throw new GradleException("Version code mismatch, expected ${androidGitVersion.code()}, got $versionCode")
|
||||
|
Loading…
Reference in New Issue
Block a user