diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 7b7b1eb..2e937f2 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -114,13 +114,16 @@ jobs: run: | dir "%cd%\unsigned" mkdir "%cd%\signed" - dotnet nuget sign "%cd%/unsigned/*.nupkg" --timestamper http://timestamp.digicert.com --output "%cd%\signed" --certificate-fingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} --hash-algorithm SHA256 --verbosity detailed --overwrite + dotnet nuget sign "%cd%\unsigned\*.nupkg" --timestamper http://timestamp.digicert.com --output "%cd%\signed" --certificate-fingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} --hash-algorithm SHA256 --verbosity detailed --overwrite mkdir c:\unsigned + dir c:\unsigned copy "%cd%\unsigned\*.nupkg" c:\unsigned mkdir c:\signed - nuget sign "%cd%\unsigned\*.nupkg" -Timestamper http://timestamp.digicert.com -outputdirectory "%cd%\signed" -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite + nuget sign "c:\unsigned\*.nupkg" -Timestamper http://timestamp.digicert.com -outputdirectory "c:\signed" -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite dir %cd%\signed + dir d:\signed + nuget verify -All "%cd%\signed\*.nupkg" shell: cmd #