mirror of
https://github.com/gradle/actions.git
synced 2025-04-21 18:29:18 +08:00
Debug failing tests
This commit is contained in:
parent
4607bb2146
commit
81948bb85d
@ -27,6 +27,9 @@ function verifyTermsOfUseAgreement(): boolean {
|
||||
|
||||
function maybeExportVariable(variableName: string, value: unknown): void {
|
||||
if (!process.env[variableName]) {
|
||||
core.info(`Exporting variable ${variableName} with value ${value}`)
|
||||
core.exportVariable(variableName, value)
|
||||
} else {
|
||||
core.info(`Variable with name ${variableName} is already set to ${process.env[variableName]}`)
|
||||
}
|
||||
}
|
||||
|
@ -92,6 +92,7 @@ export function getBuildScanTermsOfUseAgree(): string {
|
||||
*/
|
||||
function getTermsOfUseProp(newPropName: string, oldPropName: string): string {
|
||||
const newProp = core.getInput(newPropName)
|
||||
core.info(`prop[${newPropName}] = ${newProp}`)
|
||||
if (newProp.length !== 0) {
|
||||
return newProp
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user