diff --git a/sources/src/develocity/build-scan.ts b/sources/src/develocity/build-scan.ts index e8e475e..8fabb94 100644 --- a/sources/src/develocity/build-scan.ts +++ b/sources/src/develocity/build-scan.ts @@ -23,7 +23,7 @@ export async function setup(config: BuildScanConfig): Promise { maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername()) maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword()) - setupToken(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry()) + return setupToken(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry()) } function maybeExportVariable(variableName: string, value: unknown): void {