File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 8080 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
8181 subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
8282
83- - name : setup dotnet sign
84- run : dotnet tool install --global sign --version 0.9.1-beta.24529.1
83+ - name : setup tools
84+ run : |
85+ dotnet tool install --global sign --version 0.9.1-beta.24529.1
86+ dotnet tool install --global Knapcode.CertificateExtractor --version 0.1.1
8587
8688 - name : sign
8789 run : >
@@ -101,6 +103,13 @@ jobs:
101103 subject-path : ' dist/*.nupkg'
102104 show-summary : true
103105
106+ - name : extract certificate
107+ shell : pwsh
108+ run : |
109+ dotnet tool install --global Knapcode.CertificateExtractor
110+ $nupkg = Get-ChildItem -Filter dist\*.nupkg | Select-Object -First 1
111+ nuget-cert-extractor --file $nupkg --output dist --code-signing --author --leaf
112+
104113 - name : publish artifact
105114 uses : actions/upload-artifact@v4
106115 with :
You can’t perform that action at this time.
0 commit comments