diff --git a/packages/http-client-java/eng/scripts/Build-Packages.ps1 b/packages/http-client-java/eng/scripts/Build-Packages.ps1 index cec857da8c..26aabbe39c 100644 --- a/packages/http-client-java/eng/scripts/Build-Packages.ps1 +++ b/packages/http-client-java/eng/scripts/Build-Packages.ps1 @@ -78,7 +78,10 @@ try { $file = Invoke-LoggedCommand "npm pack -q" Copy-Item $file -Destination "$outputPath/packages" + $exitCodeBeforeApiView = $global:LASTEXITCODE & "$packageRoot/../../eng/emitters/scripts/Generate-APIView-CodeFile.ps1" -ArtifactPath "$outputPath/packages" + # temporary ignore Generate-APIView-CodeFile.ps1 failure + $global:LASTEXITCODE = $exitCodeBeforeApiView Write-PackageInfo -packageName "typespec-http-client-java" -directoryPath "packages/http-client-java/emitter/src" -version $emitterVersion }