Skip to content

Conversation

@ShivangiReja
Copy link
Collaborator

Problem

The update-generator.yml workflow was failing with .NET SDK version mismatch errors that corrupted the TypeSpec plugin's JSON-RPC communication, causing SyntaxError: Unexpected non-whitespace character after JSON errors.

Root Cause

The workflow was installing .NET SDK 8.x but the repository's global.json requires 9.0.205

Solution

Updated the workflow to use global-json-file: global.json instead of hardcoding dotnet-version: 8.x. This ensures the workflow automatically installs the exact .NET SDK version specified in the repository's global.json file.

Changes

.github/workflows/update-generator.yml: Changed from hardcoded dotnet-version: 8.x to global-json-file: global.json

@ShivangiReja ShivangiReja merged commit 9f3a94b into openai:main Aug 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants