Skip to content

Commit d767333

Browse files
[main] Switch to assetless build (#49113)
Co-authored-by: Matt Mitchell (.NET) <[email protected]>
1 parent 3c80286 commit d767333

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.vsts-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ parameters:
2121
- name: runTestBuild
2222
displayName: Run A Test Build
2323
type: boolean
24-
default: false
24+
default: true
2525
- name: enableArm64Job
2626
displayName: Enables the ARM64 job
2727
type: boolean
@@ -290,15 +290,16 @@ extends:
290290
runtimeSourceProperties: /p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
291291

292292
############### PUBLISH STAGE ###############
293-
- ${{ if and(eq(parameters.runTestBuild, false), ne(variables['Build.Reason'], 'PullRequest')) }}:
293+
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
294294
- stage: publish
295295
displayName: Publish
296-
dependsOn: build
296+
dependsOn: []
297297
jobs:
298298
- template: /eng/common/templates-official/job/publish-build-assets.yml@self
299299
parameters:
300300
publishUsingPipelines: true
301301
publishAssetsImmediately: true
302+
isAssetlessBuild: true
302303
pool:
303304
name: $(DncEngInternalBuildPool)
304305
image: 1es-windows-2022

0 commit comments

Comments
 (0)