You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, our global.json is nonstandard: we don't pin an SDK in "the usual way". We use an Arcade-specific tools.dotnet element that setup-dotnet doesn't know about.
Update .github/workflows/copilot-setup-steps.yml to
extract the value of tools.dotnet to get an SDK version to install
pass that to setup-dotnet
I think that may involve a script using jq and setting a GitHub Actions variable in step 1, then using that variable in step 2, but I'd love to hear about better options.
The text was updated successfully, but these errors were encountered:
Right now, our Copilot setup steps try to install a good version of the .NET SDK with this call to
setup-dotnet
:msbuild/.github/workflows/copilot-setup-steps.yml
Lines 20 to 22 in 4ad4624
However, our
global.json
is nonstandard: we don't pin an SDK in "the usual way". We use an Arcade-specifictools.dotnet
element thatsetup-dotnet
doesn't know about.Update
.github/workflows/copilot-setup-steps.yml
totools.dotnet
to get an SDK version to installsetup-dotnet
I think that may involve a script using
jq
and setting a GitHub Actions variable in step 1, then using that variable in step 2, but I'd love to hear about better options.The text was updated successfully, but these errors were encountered: