diff options
| author | TheKodeToad <TheKodeToad@proton.me> | 2024-02-29 12:17:23 +0000 |
|---|---|---|
| committer | TheKodeToad <TheKodeToad@proton.me> | 2024-02-29 12:17:23 +0000 |
| commit | 4eec3c90f41c74384957b7d3131f80065e6863ce (patch) | |
| tree | 6f7197664552c709f5a741d1ec2cd0d17db3afcd | |
| parent | b01612aae17d8c54f3438d78d19868213e77f366 (diff) | |
| download | Project-Tick-4eec3c90f41c74384957b7d3131f80065e6863ce.tar.gz Project-Tick-4eec3c90f41c74384957b7d3131f80065e6863ce.zip | |
Check for GITHUB_ACTIONS environment variable
| -rw-r--r-- | build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 9312fcd269..9c3464b364 100644 --- a/build.gradle +++ b/build.gradle @@ -92,7 +92,7 @@ publishing { tasks.publish.dependsOn build static String getVersionSuffix() { - if (System.getenv("IS_PUBLICATION") != null) + if (System.getenv("IS_PUBLICATION") != null || System.getenv("GITHUB_ACTIONS") == "true") return new SimpleDateFormat("-yyyy-MM-dd").format(new Date()) return "-LOCAL" |
