Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Use env var that is available on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Mar 21, 2020
1 parent 44df1e3 commit fad59c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

gradleEnterprise {
buildScan {
if(!System.getenv("CI").isNullOrEmpty() || file("gradle/.build-scans-tos-agree").exists()) {
if(!System.getenv("GITHUB_WORKFLOW").isNullOrEmpty() || file("gradle/.build-scans-tos-agree").exists()) {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
Expand Down

0 comments on commit fad59c0

Please sign in to comment.