-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[main] Update dependencies from dotnet/arcade #79385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dotnet-maestro
merged 9 commits into
main
from
darc-main-5755f8e8-7ce9-4e8e-b8cd-d36237c48650
Jul 17, 2025
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ebfa815
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] 7bd2394
Revert .NET SDK bump
JoeRobich 5de405a
Set NUGET_PACKAGES for bootstrap builds in CI
JoeRobich 8b49766
Set NUGET_PACKAGES for Correctness_Build_Artifacts
JoeRobich 8d9eea2
Add tracking issue for workarounds
JoeRobich 63a633c
Call nuget restore with the -publish flag
JoeRobich 147e5a0
We need to restore where we publish
JoeRobich e510fbd
Add comment for strange restore behavior
JoeRobich 8bb0c3f
Update comment
JoeRobich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| @echo off | ||
|
|
||
| :: This script is used to install the .NET SDK. | ||
| :: It will also invoke the SDK with any provided arguments. | ||
|
|
||
| powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0dotnet.ps1""" %*" | ||
| exit /b %ErrorLevel% |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # This script is used to install the .NET SDK. | ||
| # It will also invoke the SDK with any provided arguments. | ||
|
|
||
| . $PSScriptRoot\tools.ps1 | ||
| $dotnetRoot = InitializeDotNetCli -install:$true | ||
|
|
||
| # Invoke acquired SDK with args if they are provided | ||
| if ($args.count -gt 0) { | ||
| $env:DOTNET_NOLOGO=1 | ||
| & "$dotnetRoot\dotnet.exe" $args | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # This script is used to install the .NET SDK. | ||
| # It will also invoke the SDK with any provided arguments. | ||
|
|
||
| source="${BASH_SOURCE[0]}" | ||
| # resolve $SOURCE until the file is no longer a symlink | ||
| while [[ -h $source ]]; do | ||
| scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
| source="$(readlink "$source")" | ||
|
|
||
| # if $source was a relative symlink, we need to resolve it relative to the path where the | ||
| # symlink file was located | ||
| [[ $source != /* ]] && source="$scriptroot/$source" | ||
| done | ||
| scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
|
|
||
| source $scriptroot/tools.sh | ||
| InitializeDotNetCli true # install | ||
|
|
||
| # Invoke acquired SDK with args if they are provided | ||
| if [[ $# > 0 ]]; then | ||
| __dotnetDir=${_InitializeDotNetCli} | ||
| dotnetPath=${__dotnetDir}/dotnet | ||
| ${dotnetPath} "$@" | ||
| fi |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,6 +62,11 @@ try { | |
|
|
||
| if ($ci) { | ||
| $args += " /p:ContinuousIntegrationBuild=true" | ||
|
|
||
| # Set NUGET_PACKAGES to fix issues with package Restore when building with `-ci`. | ||
| # Workaround for https://github.com/dotnet/arcade/issues/15970 | ||
| $env:NUGET_PACKAGES = Join-Path $RepoRoot '.packages\' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Arcade SDK sets the NuGetPackageRoot MSBuild property for CI builds to this path. However, the Restore task runs and does not take the MSBuild property into account. Restore does respect the NuGet environment variables however. |
||
| $env:RESTORENOCACHE = $true | ||
| } | ||
|
|
||
| Exec-DotNet "build $args $projectPath" | ||
|
|
||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.