Skip to content

Commit 2cfee66

Browse files
committed
Merge branch 'main' of https://github.com/dotnet/templating into merge/release/9.0.3xx-to-main
2 parents 3444bae + eef180e commit 2cfee66

File tree

75 files changed

+1069
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1069
-356
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,12 @@ dotnet_diagnostic.IDE0022.severity = suggestion
198198
dotnet_diagnostic.IDE0028.severity = suggestion
199199
#Use auto-implemented property
200200
dotnet_diagnostic.IDE0032.severity = suggestion
201+
#Add accessibility modifiers
202+
dotnet_diagnostic.IDE0040.severity = suggestion
201203
#Use conditional expression for return
202204
dotnet_diagnostic.IDE0046.severity = suggestion
205+
#Remove unused private member
206+
dotnet_diagnostic.IDE0051.severity = suggestion
203207
#Remove unnecessary expression value
204208
dotnet_diagnostic.IDE0058.severity = suggestion
205209
#Add missing cases to switch expression
@@ -220,6 +224,8 @@ dotnet_diagnostic.IDE0300.severity = suggestion
220224
dotnet_diagnostic.IDE0301.severity = suggestion
221225
#Collection initialization can be simplified
222226
dotnet_diagnostic.IDE0305.severity = suggestion
227+
#Collection initialization can be simplified
228+
dotnet_diagnostic.IDE0306.severity = suggestion
223229

224230
# License header
225231
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<TemplateEnginePublicKey>0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb</TemplateEnginePublicKey>
2525
<DynamicProxyGenAssembly2PublicKey>0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7</DynamicProxyGenAssembly2PublicKey>
2626

27+
<!-- Only upgrade NuGetAudit warnings to errors for official builds. -->
28+
<WarningsNotAsErrors Condition="'$(OfficialBuild)' != 'true'">$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
29+
2730
<EnableAnalyzers>true</EnableAnalyzers>
2831
<!-- Disable analyzers in sourcebuild -->
2932
<EnableAnalyzers Condition="'$(DotNetBuildSourceOnly)' == 'true'">false</EnableAnalyzers>

Directory.Packages.props

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@
2727
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
2828
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
2929
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
30-
<PackageVersion Include="Microsoft.IO.Redist" Version="6.0.1" />
31-
<PackageVersion Include="System.Formats.Asn1" Version="$(SystemFormatsAsn1Version)" />
30+
<PackageVersion Include="Microsoft.IO.Redist" Version="6.0.1" /> <!-- Pin transitive dependency to avoid vulnerable 6.0.0 version. -->
31+
<PackageVersion Include="System.Formats.Asn1" Version="8.0.1" /> <!-- Pin transitive dependency to avoid vulnerable 8.0.0 version. -->
32+
<PackageVersion Include="System.Text.Json" Version="8.0.5" /> <!-- Pin transitive dependency to avoid vulnerable 8.0.0 version. -->
3233
</ItemGroup>
3334

3435
<!-- External dependencies -->
3536
<ItemGroup>
36-
<PackageVersion Include="FakeItEasy" Version="8.0.0" />
37+
<PackageVersion Include="FakeItEasy" Version="8.1.0" />
3738
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
38-
<PackageVersion Include="Newtonsoft.Json.Schema" Version="3.0.15" />
39+
<PackageVersion Include="Newtonsoft.Json.Schema" Version="4.0.1" />
3940
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
4041
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
4142
<PackageVersion Include="Verify.DiffPlex" Version="3.0.0" />
@@ -45,7 +46,7 @@
4546
<PackageVersion Include="xunit.extensibility.execution" Version="$(XUnitVersion)" />
4647
</ItemGroup>
4748

48-
<!-- DotNetBuild overrides -->
49+
<!-- DotNetBuild overrides needed until https://github.com/dotnet/source-build/issues/4467 is implemented. -->
4950
<ItemGroup>
5051
<PackageVersion Update="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" Condition="'$(MicrosoftBuildFrameworkVersion)' != ''" />
5152
<PackageVersion Update="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" Condition="'$(MicrosoftBuildUtilitiesCoreVersion)' != ''" />
@@ -57,6 +58,8 @@
5758
<PackageVersion Update="NuGet.Configuration" Version="$(NuGetConfigurationVersion)" Condition="'$(NuGetConfigurationVersion)' != ''" />
5859
<PackageVersion Update="NuGet.Credentials" Version="$(NuGetCredentialsVersion)" Condition="'$(NuGetCredentialsVersion)' != ''" />
5960
<PackageVersion Update="NuGet.Protocol" Version="$(NuGetProtocolVersion)" Condition="'$(NuGetProtocolVersion)' != ''" />
61+
<PackageVersion Update="System.Formats.Asn1" Version="$(SystemFormatsAsn1Version)" Condition="'$(SystemFormatsAsn1Version)' != ''" />
62+
<PackageVersion Update="System.Text.Json" Version="$(SystemTextJsonVersion)" Condition="'$(SystemTextJsonVersion)' != ''" />
6063
</ItemGroup>
6164

6265
<!-- Logging dependencies -->
@@ -66,4 +69,4 @@
6669
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
6770
</ItemGroup>
6871

69-
</Project>
72+
</Project>

NuGet.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@
1414
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
1515
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
1616
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
17+
<add key="dotnet10" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json" />
18+
<add key="dotnet10-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json" />
1719
</packageSources>
20+
<auditSources>
21+
<clear />
22+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
23+
</auditSources>
1824
<disabledPackageSources>
25+
<clear />
1926
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
2027
<!-- Begin: Package sources from dotnet-runtime -->
2128
<!-- End: Package sources from dotnet-runtime -->

docs/Available-templates-for-dotnet-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Below is a list of selected NuGet.org templates which are available for use with
2424
| Name | Quick Install |
2525
|----------|:--------------|
2626
| [.NET Boxed](https://github.com/Dotnet-Boxed/Templates) | `dotnet new install "Boxed.Templates"`|
27-
| [Auth0 Templates](https://github.com/auth0/auth0-dotnet-templates) | `dotnet new install Auth0.Templates::2.0.0"` |
27+
| [Auth0 Templates](https://github.com/auth0/auth0-dotnet-templates) | `dotnet new install Auth0.Templates` |
2828
| [AWS Lambda .NET Core Templates](https://github.com/aws/aws-lambda-dotnet/tree/master/Blueprints) | `dotnet new install "Amazon.Lambda.Templates"`|
2929
| [Avalonia UI Templates](https://github.com/AvaloniaUI/Avalonia) - Avalonia is a framework for creating cross platform UI | `dotnet new install "Avalonia.Templates"`|
3030
| [Blazor](http://blazor.net) - Full stack web development with C# and WebAssembly | `dotnet new install "Microsoft.AspNetCore.Blazor.Templates::3.0.0-*"`|

docs/Binding-and-project-context-evaluation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Example - binds `DefaultNamespace` symbol to `RootNamespace` of the project:
8484

8585
Visual Studio supports binding to host parameters, environment variables and MSBuild properties.
8686
In addition to that, there is additional `context` source supporting:
87-
- `context:cratesolutiondirectory` - indicates whether a solution directory is to be created as a result of project creation (Place solution and project in same directory is UNCHECKED in NPD).
87+
- `context:createsolutiondirectory` - indicates whether a solution directory is to be created as a result of project creation (Place solution and project in same directory is UNCHECKED in NPD).
8888
- `context:isexclusive` - indicates whether the template instantiation is a result of a new project being created (true) vs result of adding to an existing solution (false).
8989
- `context:solutionname` - the name of the solution, which may be different from the project name.
9090

@@ -99,4 +99,4 @@ or
9999
```json
100100
"type": "bind"
101101
"binding": "host:namespace"
102-
```
102+
```

eng/DotNetBuild.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Whenever altering this or other Source Build files, please include @dotnet/source-build-internal as a reviewer. -->
1+
<!-- When altering this file, please include @dotnet/product-construction as a reviewer. -->
22

33
<Project>
44

eng/SourceBuildPrebuiltBaseline.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
<!-- Whenever altering this or other Source Build files, please include @dotnet/source-build-internal as a reviewer. -->
1+
<!-- When altering this file or making other Source Build related changes, include @dotnet/source-build as a reviewer. -->
22
<!-- See aka.ms/dotnet/prebuilts for guidance on what pre-builts are and how to eliminate them. -->
33

44
<UsageData>
55
<IgnorePatterns>
66
<!-- Lifted to live version in VMR. -->
77
<UsagePattern IdentityGlob="System.Formats.Asn1/9.0.*" />
8+
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyInjection.Abstractions/8.0.*" />
9+
<UsagePattern IdentityGlob="Microsoft.Extensions.Logging.Abstractions/8.0.*" />
810
</IgnorePatterns>
911
</UsageData>

eng/Version.Details.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22
<Dependencies>
33
<ProductDependencies>
44
<!-- Intermediate is necessary for source build. -->
5-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="9.0.0-alpha.1.24515.2">
5+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="10.0.616001">
66
<Uri>https://github.com/dotnet/source-build-externals</Uri>
7-
<Sha>659bf534d9fbf673493b821be99df12032277549</Sha>
7+
<Sha>96dceea0417e9ff1b47664c2d2998b9abf541f0c</Sha>
88
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
99
</Dependency>
1010
<!-- Intermediate is necessary for source build. -->
11-
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.24413.1">
11+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="10.0.616001">
1212
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
13-
<Sha>1b838a42e4952b8fdf212cb1b43c5ce4d69f27b3</Sha>
13+
<Sha>8f9f6fa14523b2f2475ea0a86be1cf60b5de5336</Sha>
1414
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
1515
</Dependency>
16-
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.24324.3">
16+
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.25071.2">
1717
<Uri>https://github.com/dotnet/command-line-api</Uri>
18-
<Sha>803d8598f98fb4efd94604b32627ee9407f246db</Sha>
18+
<Sha>3bbb940ceeb3254790899d751a8d418348563d40</Sha>
1919
</Dependency>
2020
</ProductDependencies>
2121
<ToolsetDependencies>
22-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.25111.5">
22+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25161.2">
2323
<Uri>https://github.com/dotnet/arcade</Uri>
24-
<Sha>5da211e1c42254cb35e7ef3d5a8428fb24853169</Sha>
24+
<Sha>dbb4142ebc34d0a4b9f26136f86065c037dc4b80</Sha>
2525
</Dependency>
2626
<!-- Intermediate is necessary for source build. -->
27-
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.25111.5">
27+
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="10.0.0-beta.25161.2">
2828
<Uri>https://github.com/dotnet/arcade</Uri>
29-
<Sha>5da211e1c42254cb35e7ef3d5a8428fb24853169</Sha>
29+
<Sha>dbb4142ebc34d0a4b9f26136f86065c037dc4b80</Sha>
3030
<SourceBuild RepoName="arcade" ManagedOnly="true" />
3131
</Dependency>
3232
<!-- Dependencies required for source build. We'll still update manually -->

eng/Versions.props

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>9.0.300</VersionPrefix>
3+
<VersionPrefix>10.0.100</VersionPrefix>
44
<!-- When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages -->
55
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
66
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
77
<!-- Calculate prerelease label -->
88
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' != 'true'">preview</PreReleaseVersionLabel>
99
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' == 'true' and $(VersionPrefix.EndsWith('00'))">rtm</PreReleaseVersionLabel>
1010
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' == 'true' and !$(VersionPrefix.EndsWith('00'))">servicing</PreReleaseVersionLabel>
11-
<PreReleaseVersionIteration Condition="'$(StabilizePackageVersion)' != 'true'">
12-
</PreReleaseVersionIteration>
11+
<PreReleaseVersionIteration Condition="'$(StabilizePackageVersion)' != 'true'">3</PreReleaseVersionIteration>
1312
<UsingToolXliff>true</UsingToolXliff>
1413
<FlagNetStandard1XDependencies>true</FlagNetStandard1XDependencies>
1514
</PropertyGroup>
16-
<PropertyGroup>
17-
<!-- Command-line-api dependencies -->
18-
<SystemCommandLinePackageVersion>2.0.0-beta4.24324.3</SystemCommandLinePackageVersion>
19-
</PropertyGroup>
2015
<PropertyGroup>
2116
<!-- Non-maestro versions -->
2217
<SystemFormatsAsn1Version>9.0.0</SystemFormatsAsn1Version>
18+
<SystemCommandLinePackageVersion>2.0.0-beta4.25071.2</SystemCommandLinePackageVersion>
2319
<MicrosoftExtensionsLoggingPackageVersion>9.0.0</MicrosoftExtensionsLoggingPackageVersion>
2420
<MicrosoftExtensionsLoggingAbstractionsPackageVersion>9.0.0</MicrosoftExtensionsLoggingAbstractionsPackageVersion>
2521
<MicrosoftExtensionsLoggingConsolePackageVersion>9.0.0</MicrosoftExtensionsLoggingConsolePackageVersion>

eng/common/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ function Build {
231231
/p:Restore=$restore \
232232
/p:Build=$build \
233233
/p:DotNetBuildRepo=$product_build \
234-
/p:ArcadeBuildFromSource=$source_build \
235234
/p:DotNetBuildSourceOnly=$source_build \
236235
/p:Rebuild=$rebuild \
237236
/p:Test=$test \

eng/common/core-templates/job/job.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ parameters:
1919
# publishing defaults
2020
artifacts: ''
2121
enableMicrobuild: false
22+
enableMicrobuildForMacAndLinux: false
2223
enablePublishBuildArtifacts: false
2324
enablePublishBuildAssets: false
2425
enablePublishTestResults: false
25-
enablePublishUsingPipelines: false
2626
enableBuildRetry: false
2727
mergeTestResults: false
2828
testRunTitle: ''
@@ -127,18 +127,11 @@ jobs:
127127
- ${{ preStep }}
128128

129129
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
130-
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
131-
- task: MicroBuildSigningPlugin@4
132-
displayName: Install MicroBuild plugin
133-
inputs:
134-
signType: $(_SignType)
135-
zipSources: false
136-
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
137-
env:
138-
TeamName: $(_TeamName)
139-
MicroBuildOutputFolderOverride: '$(Agent.TempDirectory)'
130+
- template: /eng/common/core-templates/steps/install-microbuild.yml
131+
parameters:
132+
enableMicrobuild: ${{ parameters.enableMicrobuild }}
133+
enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}
140134
continueOnError: ${{ parameters.continueOnError }}
141-
condition: and(succeeded(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
142135

143136
- ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}:
144137
- task: NuGetAuthenticate@1
@@ -167,14 +160,12 @@ jobs:
167160
- ${{ each step in parameters.componentGovernanceSteps }}:
168161
- ${{ step }}
169162

170-
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
171-
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
172-
- task: MicroBuildCleanup@1
173-
displayName: Execute Microbuild cleanup tasks
174-
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
163+
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
164+
- template: /eng/common/core-templates/steps/cleanup-microbuild.yml
165+
parameters:
166+
enableMicrobuild: ${{ parameters.enableMicrobuild }}
167+
enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}
175168
continueOnError: ${{ parameters.continueOnError }}
176-
env:
177-
TeamName: $(_TeamName)
178169

179170
# Publish test results
180171
- ${{ if or(and(eq(parameters.enablePublishTestResults, 'true'), eq(parameters.testResultsFormat, '')), eq(parameters.testResultsFormat, 'xunit')) }}:

eng/common/core-templates/job/publish-build-assets.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ parameters:
2020
# if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.
2121
runAsPublic: false
2222

23-
# Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing
24-
publishUsingPipelines: false
25-
2623
# Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing
2724
publishAssetsImmediately: false
2825

@@ -76,12 +73,11 @@ jobs:
7673
fetchDepth: 3
7774
clean: true
7875

79-
- task: DownloadBuildArtifacts@0
80-
displayName: Download artifact
76+
- task: DownloadPipelineArtifact@2
77+
displayName: Download Asset Manifests
8178
inputs:
8279
artifactName: AssetManifests
83-
downloadPath: '$(Build.StagingDirectory)/Download'
84-
checkDownloadedFiles: true
80+
targetPath: '$(Build.StagingDirectory)/AssetManifests'
8581
condition: ${{ parameters.condition }}
8682
continueOnError: ${{ parameters.continueOnError }}
8783

@@ -95,9 +91,8 @@ jobs:
9591
scriptLocation: scriptPath
9692
scriptPath: $(Build.SourcesDirectory)/eng/common/sdk-task.ps1
9793
arguments: -task PublishBuildAssets -restore -msbuildEngine dotnet
98-
/p:ManifestsPath='$(Build.StagingDirectory)/Download/AssetManifests'
94+
/p:ManifestsPath='$(Build.StagingDirectory)/AssetManifests'
9995
/p:MaestroApiEndpoint=https://maestro.dot.net
100-
/p:PublishUsingPipelines=${{ parameters.publishUsingPipelines }}
10196
/p:OfficialBuildId=$(Build.BuildNumber)
10297
condition: ${{ parameters.condition }}
10398
continueOnError: ${{ parameters.continueOnError }}

eng/common/core-templates/job/source-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ parameters:
1212
# The name of the job. This is included in the job ID.
1313
# targetRID: ''
1414
# The name of the target RID to use, instead of the one auto-detected by Arcade.
15-
# nonPortable: false
15+
# portableBuild: false
1616
# Enables non-portable mode. This means a more specific RID (e.g. fedora.32-x64 rather than
17-
# linux-x64), and compiling against distro-provided packages rather than portable ones.
17+
# linux-x64), and compiling against distro-provided packages rather than portable ones. The
18+
# default is portable mode.
1819
# skipPublishValidation: false
1920
# Disables publishing validation. By default, a check is performed to ensure no packages are
2021
# published by source-build.

0 commit comments

Comments
 (0)