From 949b67a3c5d9ba5d03567136df647bfc3e240c8e Mon Sep 17 00:00:00 2001 From: Pawel Piwowarczyk Date: Fri, 22 Mar 2024 15:27:39 +0100 Subject: [PATCH] fix: play with paths --- .github/workflows/template.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 #