diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index a8cfa0e..e14a2b6 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -112,7 +112,7 @@ jobs: # run: dotnet nuget sign unsigned/*.nupkg --certificate-path cert.p12 --certificate-password ${{ secrets.nugetCertificatePassword }} --timestamper http://timestamp.digicert.com --output signed - name: Signing using Nuget run: | - nuget sign "D:\a\dotnet-sdk\dotnet-sdk/*.nupkg" -Timestamper http://timestamp.digicert.com -outputdirectory "D:\a\dotnet-sdk\dotnet-sdk\signed" -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite + nuget sign "D:\a\dotnet-sdk\dotnet-sdk\unsigned\*.nupkg" -Timestamper http://timestamp.digicert.com -outputdirectory "D:\a\dotnet-sdk\dotnet-sdk\signed" -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite nuget verify -All "D:\a\dotnet-sdk\dotnet-sdk\signed\*" - name: Setup .NET uses: actions/setup-dotnet@v3