Skip to content

Commit c95a541

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ jobs:
151151
env:
152152
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
153153

154+
- name: Extract trusted signing certificate
155+
run: |
156+
$nupkg = Get-ChildItem -Path '${{ github.workspace}}\dist' -Filter '*.nupkg' | Select-Object -First 1
157+
nuget-cert-extractor --file $nupkg --output '${{ github.workspace}}\dist' --code-signing --author --leaf
158+
154159
- name: Archive NetOffice packages
155160
if: success() && matrix.configuration == 'Release'
156161
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)