From 0e00ec47480c4f2d78c806031ab3b4eea8212bc9 Mon Sep 17 00:00:00 2001 From: Jason Ginchereau Date: Fri, 30 Aug 2024 23:29:22 -1000 Subject: [PATCH] Build and publish symbol nuget packages --- .ado/publish.yml | 4 ++-- .github/workflows/build.yml | 2 +- Directory.Build.props | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.ado/publish.yml b/.ado/publish.yml index dbedc62f..734b0501 100644 --- a/.ado/publish.yml +++ b/.ado/publish.yml @@ -223,7 +223,7 @@ jobs: ConnectedServiceName: ESRP-JsHost2 FolderPath: $(Build.SourcesDirectory)/out/pkg Pattern: | - **/Microsoft.JavaScript.NodeApi.*.nupkg + **/Microsoft.JavaScript.NodeApi.*.*nupkg UseMinimatch: true signConfigType: inlineSignParams inlineOperation: | @@ -250,7 +250,7 @@ jobs: sourceFolder: $(Build.SourcesDirectory)/out/pkg targetFolder: $(Build.StagingDirectory)/pkg contents: | - *.nupkg + *.*nupkg *.tgz - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 323440aa..e06a15a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,7 +72,7 @@ jobs: with: name: ${{ matrix.os }}-${{ matrix.configuration }}-packages path: | - out/pkg/*.nupkg + out/pkg/*.*nupkg out/pkg/*.tgz - name: Test diff --git a/Directory.Build.props b/Directory.Build.props index 8678fb30..0635bc9f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -23,6 +23,11 @@ true + + true + snupkg + +