Fix CI/CD workflow SDK resolution on GitHub Actions (port to 7.4.x)#26
Open
droyad wants to merge 1 commit into
Open
Fix CI/CD workflow SDK resolution on GitHub Actions (port to 7.4.x)#26droyad wants to merge 1 commit into
droyad wants to merge 1 commit into
Conversation
build/common.ps1 exports DOTNET_ROOT and PATH for the installed .NET SDK using Azure DevOps logging commands (##vso[...]), which GitHub Actions silently ignores. As a result, the 9.0.3xx SDK that configure.ps1 installs into ./cli/ was invisible to the build step's VS MSBuild SDK resolver, causing 85 × MSB4236 "Microsoft.NET.Sdk could not be found" errors during restore.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports
5c17618("Fix CI/CD workflow SDK resolution on GitHub Actions") fromrelease/7.3.xtorelease/7.4.x. That commit only ever landed on 7.3.x, so 7.4.x's GitHub Actions build is still broken.