Skip to content

Commit

Permalink
Skip errors for Nuget test signing
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Nov 8, 2024
1 parent d1d5903 commit ec96205
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion windows-release/sign-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ parameters:
ExtractDir: ''
SigningCertificate: ''
ExportCommand: ''
ContinueOnError: false

steps:
- ${{ if parameters.SigningCertificate }}:
Expand Down Expand Up @@ -46,7 +47,10 @@ steps:
}
del __filelist.txt
displayName: 'Sign binaries'
retryCountOnTaskFailure: 3
${{ if eq(parameters.ContinueOnError, 'false') }}:
retryCountOnTaskFailure: 3
${{ else }}:
continueOnError: true
workingDirectory: ${{ parameters.WorkingDir }}
env:
TRUSTED_SIGNING_CMD: $(__TrustedSigningCmd)
Expand Down
3 changes: 3 additions & 0 deletions windows-release/stage-pack-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
Filter: '*.nupkg'
WorkingDir: $(Build.ArtifactStagingDirectory)
SigningCertificate: ${{ parameters.SigningCertificate }}
# Nuget signing is not supported by our test certificate, so ignore errors
${{ if eq(parameters.SigningCertificate, 'TestSign') }}:
ContinueOnError: true

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: nuget'
Expand Down

0 comments on commit ec96205

Please sign in to comment.