Skip to content

Commit 1e85465

Browse files
authored
Merge pull request #1501 from microsoft/dev/andarno/libtemplateUpdate
Merge latest Library.Template
2 parents 56ee24c + 6e4fad0 commit 1e85465

File tree

11 files changed

+66
-12
lines changed

11 files changed

+66
-12
lines changed

.config/dotnet-tools.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"rollForward": false
1111
},
1212
"dotnet-coverage": {
13-
"version": "18.0.4",
13+
"version": "18.1.0",
1414
"commands": [
1515
"dotnet-coverage"
1616
],
@@ -29,6 +29,13 @@
2929
"docfx"
3030
],
3131
"rollForward": false
32+
},
33+
"nerdbank.dotnetrepotools": {
34+
"version": "1.0.92",
35+
"commands": [
36+
"repo"
37+
],
38+
"rollForward": false
3239
}
3340
}
34-
}
41+
}

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</ItemGroup>
4444
<Import Project="Directory.Packages.Analyzers.props" Condition="'$(IsTestProject)'!='true'" />
4545
<ItemGroup Label="Library.Template">
46-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
46+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
4747
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
4848
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
4949
<PackageVersion Include="xunit.v3" Version="3.1.0" />

azure-pipelines/archive-sourcecode.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ variables:
3535
extends:
3636
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
3737
parameters:
38+
settings:
39+
networkIsolationPolicy: Permissive,CFSClean
3840
sdl:
3941
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
4042

azure-pipelines/libtemplate-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ variables:
3030
extends:
3131
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
3232
parameters:
33+
settings:
34+
networkIsolationPolicy: Permissive,CFSClean
3335
sdl:
3436
sourceAnalysisPool:
3537
name: AzurePipelines-EO

azure-pipelines/official.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ variables:
4545
extends:
4646
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
4747
parameters:
48+
settings:
49+
networkIsolationPolicy: Permissive,CFSClean
4850
sdl:
4951
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
5052
codeSignValidation:

azure-pipelines/release.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@ variables:
2020
extends:
2121
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2222
parameters:
23+
settings:
24+
networkIsolationPolicy: Permissive,CFSClean
2325
sdl:
2426
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
2527

2628
stages:
2729
- stage: release
2830
jobs:
29-
- job: release
31+
- job: nuget
32+
displayName: 📦 Push nuget.org packages
3033
pool:
3134
name: AzurePipelines-EO
3235
demands:
@@ -43,6 +46,28 @@ extends:
4346
publishFeedCredentials: Microsoft.Windows.CsWin32
4447
steps:
4548
- checkout: none
49+
- download: CI
50+
artifact: deployables-Windows
51+
displayName: 🔻 Download deployables-Windows artifact
52+
patterns: 'NuGet/*'
53+
- job: github
54+
displayName: 📢 GitHub release
55+
dependsOn: nuget
56+
pool:
57+
name: AzurePipelines-EO
58+
demands:
59+
- ImageOverride -equals 1ESPT-Ubuntu22.04
60+
os: Linux
61+
templateContext:
62+
type: releaseJob
63+
isProduction: true
64+
inputs:
65+
- input: pipelineArtifact
66+
pipeline: CI
67+
artifactName: deployables-Windows
68+
targetPath: $(Pipeline.Workspace)/CI/deployables-Windows
69+
steps:
70+
- checkout: none
4671
- powershell: |
4772
Write-Host "##vso[build.updatebuildnumber]$(resources.pipeline.CI.runName)"
4873
if ('$(resources.pipeline.CI.runName)'.Contains('-')) {
@@ -51,10 +76,6 @@ extends:
5176
Write-Host "##vso[task.setvariable variable=IsPrerelease]false"
5277
}
5378
displayName: ⚙ Set up pipeline
54-
- download: CI
55-
artifact: deployables-Windows
56-
displayName: 🔻 Download deployables-Windows artifact
57-
patterns: 'NuGet/*'
5879
- task: GitHubRelease@1
5980
displayName: 📢 GitHub release (create)
6081
inputs:

azure-pipelines/unofficial.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ variables:
5555
extends:
5656
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
5757
parameters:
58+
settings:
59+
networkIsolationPolicy: Permissive,CFSClean
5860
sdl:
5961
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
6062
credscan:

azure-pipelines/vs-insertion.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ variables:
2323
extends:
2424
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2525
parameters:
26+
settings:
27+
networkIsolationPolicy: Permissive,CFSClean
2628
sdl:
2729
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
2830

azure-pipelines/vs-validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ variables:
2626
extends:
2727
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
2828
parameters:
29+
settings:
30+
networkIsolationPolicy: Permissive,CFSClean
2931
sdl:
3032
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
3133
credscan:

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.305",
3+
"version": "9.0.306",
44
"rollForward": "patch",
55
"allowPrerelease": false
66
},

0 commit comments

Comments
 (0)