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