Skip to content

Commit 64d3ed9

Browse files
committed
Add CI package pipeline for building and publishing NuGet packages
1 parent dcf9219 commit 64d3ed9

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

eng/pipelines/ci/package/sqlclient-package.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,8 @@ variables:
8787
# Disable codesign validation injection for CI builds.
8888
#
8989
# TODO: Should we enable this for internal/main since those builds produce signed assemblies?
90-
- name: runCodesignValidationInjection
91-
value: false
92-
93-
# Skip component governance detection for CI builds.
94-
#
95-
# TODO: This should never be skipped, should it?
96-
#- name: skipComponentGovernanceDetection
97-
# value: true
90+
#- name: runCodesignValidationInjection
91+
# value: false
9892

9993
# Whether this is an internal (ADO.Net project) or public (Public project) build.
10094
- name: isInternalBuild
@@ -120,7 +114,8 @@ jobs:
120114

121115
# Emit environment variables if debug is enabled.
122116
- ${{ if eq(parameters.debug, true) }}:
123-
- pwsh: 'Get-ChildItem Env: | Sort-Object Name'
117+
- pwsh: |
118+
Get-ChildItem Env: | Sort-Object Name | Format-Table -AutoSize -Wrap
124119
displayName: '[Debug] Print Environment Variables'
125120
126121
# Install the .NET SDK from global.json.
@@ -168,8 +163,8 @@ jobs:
168163
# List produced packages for diagnostics.
169164
- pwsh: |
170165
Write-Host 'Packages produced:'
171-
Get-ChildItem "$(Build.SourcesDirectory)/packages/*.nupkg" -ErrorAction SilentlyContinue | Format-Table Name, Length
172-
Get-ChildItem "$(Build.SourcesDirectory)/packages/*.snupkg" -ErrorAction SilentlyContinue | Format-Table Name, Length
166+
Get-ChildItem "$(Build.SourcesDirectory)/packages/*.nupkg" -ErrorAction SilentlyContinue | Format-Table Name, Length -AutoSize -Wrap
167+
Get-ChildItem "$(Build.SourcesDirectory)/packages/*.snupkg" -ErrorAction SilentlyContinue | Format-Table Name, Length -AutoSize -Wrap
173168
displayName: List produced packages
174169
175170
# Publish all .nupkg and .snupkg files from packages/ as a pipeline artifact.

0 commit comments

Comments
 (0)