File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ jobs:
5656 SM_CLIENT_CERT_PASSWORD : ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
5757
5858 - name : Sign NuGet package
59- run : nuget sign ./nupkg/*.nupkg -Timestamper http://timestamp.digicert.com -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite
60- shell : cmd
59+ run : Get-ChildItem ./nupkg/*.nupkg | ForEach-Object { dotnet nuget sign $_.FullName --timestamper http://timestamp.digicert.com --certificate-fingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} --hash-algorithm SHA256 --verbosity detailed --overwrite }
60+ shell : pwsh
6161
6262 - name : Verify signature
63- run : nuget verify -All ./nupkg/*.nupkg
64- shell : cmd
63+ run : Get-ChildItem ./nupkg/*.nupkg | ForEach-Object { dotnet nuget verify --all $_.FullName }
64+ shell : pwsh
6565
6666 - name : Push to NuGet
6767 run : dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments