owaiskhan
Jun 16, 2026
  119
(0 votes)

CI/CD deployment failure in Optimizely DXP Passportal. .NET 10 and GitHub Runner Compatibility

.NET 10 and GitHub Runner Compatibility

With the release of .NET 10, the windows-latest and ubuntu-latest GitHub Actions runners may use the latest installed .NET SDK by default.

As a result, if your application is built using a different SDK version and no SDK version is explicitly specified, the build and deployment process may use the latest SDK available on the runner. This can lead to build failures, deployment issues, or the website failing to start after deployment.

To avoid this issue, define the required SDK version in a global.json file at the root of your repository. This ensures that the build pipeline consistently uses the intended .NET SDK version regardless of updates to the GitHub-hosted runners.

Example:

{
  "sdk": {
    "version": "8.0.100"
  }
}

By pinning the SDK version in global.json, you can ensure predictable builds and deployments across different environments and runner updates.

Jun 16, 2026

Comments

Please login to comment.
Latest blogs
Integrating Optimizely CMP Assets into an Existing Document Listing Page

Integrating Optimizely CMP Assets into an Existing Document Listing Page In some projects, there may be a requirement to retrieve assets from...

owaiskhan | Jun 16, 2026

Setting up Opti Id SSO with and without SCIM

This blog compiled learnings, when setting up Opti Id for large enterprises using SCIM and its pros and cons when setting up Opti Id without SCIM....

Muhammad Talha | Jun 16, 2026

Understanding Optimizely Opal Cost vs Value

Every Opal conversation seems to start with the same question: "What does it cost?" Fair, but it's only half the question. Cost tells you what you'...

K Khan | Jun 15, 2026