From a57b65e835bdfa1c76757471e587e6bb9ab7c561 Mon Sep 17 00:00:00 2001 From: Pawel Piwowarczyk Date: Fri, 22 Mar 2024 14:19:10 +0100 Subject: [PATCH] fix: change path to nuget packages --- .github/workflows/template.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 574725f..a8cfa0e 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -112,10 +112,13 @@ 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: | - dir d: - dir d:\a - copy D:\a\github-action-electron\github-action-electron\UNSIGNED.nupkg D:\a\github-action-electron\github-action-electron\dist\UNSIGNED.nupkg - nuget sign "d:/a/unsigned/*.nupkg" -Timestamper http://timestamp.digicert.com -outputdirectory "D:\a\signed" -CertificateFingerprint ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} -HashAlgorithm SHA256 -Verbosity detailed -Overwrite - nuget verify -All "D:\a\github-action-electron\github-action-electron\dist\Signed\*" + 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 verify -All "D:\a\dotnet-sdk\dotnet-sdk\signed\*" + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 8.0.x # - name: Push package # run: dotnet nuget push signed/${{needs.build.outputs.nupkgFilename}} --api-key ${{ secrets.nugetApiKey }} --source https://api.nuget.org/v3/index.json