diff --git a/NuGet.config b/NuGet.config
index 9f41cb141..01a4cdf20 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -9,30 +9,15 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -56,21 +41,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index f1069a15c..b2d5ee1ba 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -198,18 +198,18 @@
-
+
https://github.com/dotnet/arcade
- 7c5e5a782c67460b123c8e41d484ebcca8002c93
+ df8799988af6503cbcd9544713d30732328c8c57
-
+
https://github.com/dotnet/arcade
- 7c5e5a782c67460b123c8e41d484ebcca8002c93
+ df8799988af6503cbcd9544713d30732328c8c57
-
+
https://github.com/dotnet/arcade
- 7c5e5a782c67460b123c8e41d484ebcca8002c93
+ df8799988af6503cbcd9544713d30732328c8c57
https://github.com/dotnet/source-build-reference-packages
diff --git a/eng/Versions.props b/eng/Versions.props
index 5f1a7896f..0ed94434a 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -33,7 +33,7 @@
- 7.0.0-beta.23211.2
+ 7.0.0-beta.23228.7
diff --git a/eng/common/templates/job/job.yml b/eng/common/templates/job/job.yml
index e3ba93980..3cb5145ea 100644
--- a/eng/common/templates/job/job.yml
+++ b/eng/common/templates/job/job.yml
@@ -24,7 +24,7 @@ parameters:
enablePublishBuildAssets: false
enablePublishTestResults: false
enablePublishUsingPipelines: false
- disableComponentGovernance: false
+ disableComponentGovernance: ''
mergeTestResults: false
testRunTitle: ''
testResultsFormat: ''
@@ -142,9 +142,13 @@ jobs:
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
continueOnError: true
- - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}:
- - task: ComponentGovernanceComponentDetection@0
- continueOnError: true
+ - template: /eng/common/templates/steps/component-governance.yml
+ parameters:
+ ${{ if eq(parameters.disableComponentGovernance, '') }}:
+ ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(contains(variables['Build.SourceBranch'], 'internal/release'), eq(variables['Build.SourceBranch'], 'main'))) }}:
+ disableComponentGovernance: false
+ ${{ else }}:
+ disableComponentGovernance: true
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
diff --git a/eng/common/templates/steps/component-governance.yml b/eng/common/templates/steps/component-governance.yml
new file mode 100644
index 000000000..babc2757d
--- /dev/null
+++ b/eng/common/templates/steps/component-governance.yml
@@ -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
\ No newline at end of file
diff --git a/global.json b/global.json
index 550a365a9..4d4fe182c 100644
--- a/global.json
+++ b/global.json
@@ -11,7 +11,7 @@
"cmake": "3.16.4"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23211.2",
- "Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.23211.2"
+ "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23228.7",
+ "Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.23228.7"
}
}