Skip to content

Commit 028ec30

Browse files
committed
Add binlogs to build
1 parent c17c669 commit 028ec30

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

eng/pipelines/templates/jobs/dnup/dnup-library-package.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,23 @@ jobs:
4444
targetPath: '$(Build.SourcesDirectory)/artifacts/packages/Release/NonShipping/'
4545
artifactName: 'dnup-library-packages'
4646
publishLocation: Container
47+
- output: pipelineArtifact
48+
displayName: '📊 Publish dnup library build binlogs'
49+
condition: always()
50+
targetPath: '$(Build.SourcesDirectory)/artifacts/binlogs/'
51+
artifactName: 'dnup-library-binlogs'
52+
publishLocation: Container
4753
steps:
4854
- ${{ if eq(parameters.pool.os, 'windows') }}:
4955
- powershell: |
5056
& .\restore.cmd
5157
displayName: 🍱 Bootstrap toolset (Windows)
5258
- powershell: |
53-
& .\.dotnet\dotnet build test\dnup.Tests\dnup.Tests.csproj -c Release
59+
& .\.dotnet\dotnet build test\dnup.Tests\dnup.Tests.csproj -c Release -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-build.binlog
5460
displayName: 💻 Build Windows
5561
- powershell: |
56-
& .\.dotnet\dotnet pack .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.csproj
62+
& .\.dotnet\dotnet pack .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.csproj -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-package.binlog
5763
displayName: 📦 Package dnup library
5864
- powershell: |
59-
& .\.dotnet\dotnet build .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.sign.proj /t:Sign
65+
& .\.dotnet\dotnet build .\src\Installer\Microsoft.Dotnet.Installation\Microsoft.Dotnet.Installation.sign.proj /t:Sign -bl:$(Build.SourcesDirectory)/artifacts/binlogs/dnup-library-sign.binlog
6066
displayName: 🖋️ Sign dnup library packages with arcade signtool

0 commit comments

Comments
 (0)