Skip to content

Commit

Permalink
fix: play with paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiwow-apay committed Mar 22, 2024
1 parent 8fe53df commit 949b67a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 949b67a

Please sign in to comment.