Update dependencies from https://github.com/dotnet/arcade build 20230531.4
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk From Version 7.0.0-beta.23211.2 -> To Version 7.0.0-beta.23281.4
This commit is contained in:
parent
3bf636278c
commit
b121f8feeb
6 changed files with 43 additions and 23 deletions
12
NuGet.config
12
NuGet.config
|
@ -10,20 +10,21 @@
|
||||||
<!-- End: Package sources from DotNet-msbuild-Trusted -->
|
<!-- End: Package sources from DotNet-msbuild-Trusted -->
|
||||||
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
||||||
<add key="darc-int-dotnet-aspnetcore-3dfc6fd" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-3dfc6fda/nuget/v3/index.json" />
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-3dfc6fda/nuget/v3/index.json" />
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd-2" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-3dfc6fda-2/nuget/v3/index.json" />
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-3dfc6fda-1/nuget/v3/index.json" />
|
||||||
<!-- End: Package sources from dotnet-aspnetcore -->
|
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||||
<!-- Begin: Package sources from dotnet-emsdk -->
|
<!-- Begin: Package sources from dotnet-emsdk -->
|
||||||
<add key="darc-pub-dotnet-emsdk-b3cf128" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285/nuget/v3/index.json" />
|
<add key="darc-pub-dotnet-emsdk-b3cf128" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285/nuget/v3/index.json" />
|
||||||
|
<add key="darc-pub-dotnet-emsdk-b3cf128-4" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-4/nuget/v3/index.json" />
|
||||||
|
<add key="darc-pub-dotnet-emsdk-b3cf128-3" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-3/nuget/v3/index.json" />
|
||||||
<add key="darc-pub-dotnet-emsdk-b3cf128-2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-2/nuget/v3/index.json" />
|
<add key="darc-pub-dotnet-emsdk-b3cf128-2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-2/nuget/v3/index.json" />
|
||||||
<add key="darc-pub-dotnet-emsdk-b3cf128-1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-1/nuget/v3/index.json" />
|
<add key="darc-pub-dotnet-emsdk-b3cf128-1" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-b3cf1285-1/nuget/v3/index.json" />
|
||||||
<!-- End: Package sources from dotnet-emsdk -->
|
<!-- End: Package sources from dotnet-emsdk -->
|
||||||
<!-- Begin: Package sources from dotnet-runtime -->
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
<add key="darc-int-dotnet-runtime-5b20af4" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-5b20af47/nuget/v3/index.json" />
|
|
||||||
<!-- End: Package sources from dotnet-runtime -->
|
<!-- End: Package sources from dotnet-runtime -->
|
||||||
<!-- Begin: Package sources from dotnet-sdk -->
|
<!-- Begin: Package sources from dotnet-sdk -->
|
||||||
<add key="darc-int-dotnet-sdk-9abb6bd" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-sdk-9abb6bda/nuget/v3/index.json" />
|
|
||||||
<!-- End: Package sources from dotnet-sdk -->
|
<!-- End: Package sources from dotnet-sdk -->
|
||||||
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
<add key="darc-int-dotnet-windowsdesktop-eacd999" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-windowsdesktop-eacd999c/nuget/v3/index.json" />
|
|
||||||
<!-- End: Package sources from dotnet-windowsdesktop -->
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
||||||
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
|
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
|
||||||
|
@ -45,15 +46,14 @@
|
||||||
<disabledPackageSources>
|
<disabledPackageSources>
|
||||||
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
||||||
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd-1" value="true" />
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd-2" value="true" />
|
||||||
<add key="darc-int-dotnet-aspnetcore-3dfc6fd" value="true" />
|
<add key="darc-int-dotnet-aspnetcore-3dfc6fd" value="true" />
|
||||||
<!-- End: Package sources from dotnet-aspnetcore -->
|
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||||
<!-- Begin: Package sources from dotnet-runtime -->
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
<add key="darc-int-dotnet-runtime-5b20af4" value="true" />
|
|
||||||
<!-- Begin: Package sources from dotnet-sdk -->
|
<!-- Begin: Package sources from dotnet-sdk -->
|
||||||
<add key="darc-int-dotnet-sdk-9abb6bd" value="true" />
|
|
||||||
<!-- End: Package sources from dotnet-sdk -->
|
<!-- End: Package sources from dotnet-sdk -->
|
||||||
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
<add key="darc-int-dotnet-windowsdesktop-eacd999" value="true" />
|
|
||||||
<!-- End: Package sources from dotnet-windowsdesktop -->
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
<!-- End: Package sources from dotnet-runtime -->
|
<!-- End: Package sources from dotnet-runtime -->
|
||||||
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
||||||
|
|
|
@ -192,18 +192,18 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.23211.2">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.23281.4">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
|
<Sha>6a71ed4ba6a70e66abe9f9bdc4009fa1de35132f</Sha>
|
||||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.23211.2">
|
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.23281.4">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
|
<Sha>6a71ed4ba6a70e66abe9f9bdc4009fa1de35132f</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.23211.2">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.23281.4">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
|
<Sha>6a71ed4ba6a70e66abe9f9bdc4009fa1de35132f</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.23063.1">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.23063.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.23211.2</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.23281.4</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
|
@ -24,7 +24,7 @@ parameters:
|
||||||
enablePublishBuildAssets: false
|
enablePublishBuildAssets: false
|
||||||
enablePublishTestResults: false
|
enablePublishTestResults: false
|
||||||
enablePublishUsingPipelines: false
|
enablePublishUsingPipelines: false
|
||||||
disableComponentGovernance: false
|
disableComponentGovernance: ''
|
||||||
mergeTestResults: false
|
mergeTestResults: false
|
||||||
testRunTitle: ''
|
testRunTitle: ''
|
||||||
testResultsFormat: ''
|
testResultsFormat: ''
|
||||||
|
@ -73,6 +73,10 @@ jobs:
|
||||||
- ${{ if eq(parameters.enableRichCodeNavigation, 'true') }}:
|
- ${{ if eq(parameters.enableRichCodeNavigation, 'true') }}:
|
||||||
- name: EnableRichCodeNavigation
|
- name: EnableRichCodeNavigation
|
||||||
value: 'true'
|
value: 'true'
|
||||||
|
# Retry signature validation up to three times, waiting 2 seconds between attempts.
|
||||||
|
# See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures
|
||||||
|
- name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY
|
||||||
|
value: 3,2000
|
||||||
- ${{ each variable in parameters.variables }}:
|
- ${{ each variable in parameters.variables }}:
|
||||||
# handle name-value variable syntax
|
# handle name-value variable syntax
|
||||||
# example:
|
# example:
|
||||||
|
@ -81,7 +85,7 @@ jobs:
|
||||||
- ${{ if ne(variable.name, '') }}:
|
- ${{ if ne(variable.name, '') }}:
|
||||||
- name: ${{ variable.name }}
|
- name: ${{ variable.name }}
|
||||||
value: ${{ variable.value }}
|
value: ${{ variable.value }}
|
||||||
|
|
||||||
# handle variable groups
|
# handle variable groups
|
||||||
- ${{ if ne(variable.group, '') }}:
|
- ${{ if ne(variable.group, '') }}:
|
||||||
- group: ${{ variable.group }}
|
- group: ${{ variable.group }}
|
||||||
|
@ -142,14 +146,20 @@ jobs:
|
||||||
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
|
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
||||||
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}:
|
- template: /eng/common/templates/steps/component-governance.yml
|
||||||
- task: ComponentGovernanceComponentDetection@0
|
parameters:
|
||||||
continueOnError: true
|
${{ if eq(parameters.disableComponentGovernance, '') }}:
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
|
||||||
|
disableComponentGovernance: false
|
||||||
|
${{ else }}:
|
||||||
|
disableComponentGovernance: true
|
||||||
|
${{ else }}:
|
||||||
|
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
|
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
|
||||||
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- task: MicroBuildCleanup@1
|
- task: MicroBuildCleanup@1
|
||||||
displayName: Execute Microbuild cleanup tasks
|
displayName: Execute Microbuild cleanup tasks
|
||||||
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
|
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
|
||||||
continueOnError: ${{ parameters.continueOnError }}
|
continueOnError: ${{ parameters.continueOnError }}
|
||||||
env:
|
env:
|
||||||
|
@ -217,7 +227,7 @@ jobs:
|
||||||
displayName: Publish XUnit Test Results
|
displayName: Publish XUnit Test Results
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'xUnit'
|
testResultsFormat: 'xUnit'
|
||||||
testResultsFiles: '*.xml'
|
testResultsFiles: '*.xml'
|
||||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
|
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
|
||||||
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit
|
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit
|
||||||
mergeTestResults: ${{ parameters.mergeTestResults }}
|
mergeTestResults: ${{ parameters.mergeTestResults }}
|
||||||
|
@ -228,7 +238,7 @@ jobs:
|
||||||
displayName: Publish TRX Test Results
|
displayName: Publish TRX Test Results
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'VSTest'
|
testResultsFormat: 'VSTest'
|
||||||
testResultsFiles: '*.trx'
|
testResultsFiles: '*.trx'
|
||||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
|
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
|
||||||
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx
|
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx
|
||||||
mergeTestResults: ${{ parameters.mergeTestResults }}
|
mergeTestResults: ${{ parameters.mergeTestResults }}
|
||||||
|
|
10
eng/common/templates/steps/component-governance.yml
Normal file
10
eng/common/templates/steps/component-governance.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
parameters:
|
||||||
|
disableComponentGovernance: false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
|
||||||
|
- script: "echo ##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
|
||||||
|
displayName: Set skipComponentGovernanceDetection variable
|
||||||
|
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
|
||||||
|
- task: ComponentGovernanceComponentDetection@0
|
||||||
|
continueOnError: true
|
|
@ -11,7 +11,7 @@
|
||||||
"cmake": "3.16.4"
|
"cmake": "3.16.4"
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23211.2",
|
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23281.4",
|
||||||
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.23211.2"
|
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.23281.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue