mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
Only verify TOU agreement when required
This commit is contained in:
@@ -185,9 +185,6 @@ export enum JobSummaryOption {
|
||||
|
||||
export class BuildScanConfig {
|
||||
getBuildScanPublishEnabled(): boolean {
|
||||
if (!this.verifyTermsOfUseAgreement()) {
|
||||
return false
|
||||
}
|
||||
return getBooleanInput('build-scan-publish') && this.verifyTermsOfUseAgreement()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user