Skip to content

Commit

Permalink
fix: change path to nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiwow-apay committed Mar 22, 2024
1 parent 8cbc87e commit a57b65e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a57b65e

Please sign in to comment.