Skip to content

Commit b01df84

Browse files
committed
Extract trusted signing certificate
1 parent cde52c1 commit b01df84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ jobs:
143143
--timestamp-url http://timestamp.acs.microsoft.com `
144144
--timestamp-digest SHA256
145145
146+
- name: Extract trusted signing certificate
147+
if: success() && steps.build.outputs.sign_binaries == 'true'
148+
run: |
149+
$nupkg = Get-ChildItem -Path '${{ github.workspace}}\dist' -Filter '*.nupkg' | Select-Object -First 1
150+
nuget-cert-extractor --file $nupkg --output '${{ github.workspace}}\dist' --code-signing --author --leaf
151+
146152
- name: Publish packages
147153
if: success() && steps.build.outputs.publish_nuget == 'true'
148154
working-directory: '${{ github.workspace}}\dist'

0 commit comments

Comments
 (0)