We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1855542 commit 03044a4Copy full SHA for 03044a4
scripts/Submit-GeneratorUpdatePr.ps1
@@ -215,13 +215,16 @@ try {
215
}
216
Pop-Location
217
218
- # Export the API
219
- Write-Log "Updating API"
+ # Build the updated library
+ Write-Log "Building the library"
220
Push-Location "."
221
try {
222
- pwsh scripts/Export-Api.ps1
+ & dotnet build src/OpenAI.csproj
223
+ if ($LASTEXITCODE -ne 0) {
224
+ throw "Build failed with exit code $LASTEXITCODE"
225
+ }
226
} catch {
- Write-Warning-Log "Exporting API failed: $_"
227
+ Write-Warning-Log "Building the library failed: $_"
228
229
230
0 commit comments