mirror of
https://hub.gitmirror.com/https://github.com/gradle/actions.git
synced 2025-10-29 00:50:07 +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 {
|
export class BuildScanConfig {
|
||||||
getBuildScanPublishEnabled(): boolean {
|
getBuildScanPublishEnabled(): boolean {
|
||||||
if (!this.verifyTermsOfUseAgreement()) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return getBooleanInput('build-scan-publish') && this.verifyTermsOfUseAgreement()
|
return getBooleanInput('build-scan-publish') && this.verifyTermsOfUseAgreement()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user