Skip to content

Commit 53305c1

Browse files
committed
fixup! Add Explicit Binary Signing Task
1 parent ce4ed32 commit 53305c1

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.pipelines/build/binaries.jobs.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,26 @@ jobs:
5050
displayName: "Sign Binary - ${{ job_data.displayName }} -"
5151
strategy: ${{ job_data.strategy }}
5252
pool:
53-
type: docker
5453
${{ if eq(job_data.job, 'windows_amd64') }}:
55-
os: windows
54+
type: windows
5655
${{ else }}:
57-
os: linux
56+
type: linux
5857
variables:
59-
ob_outputDirectory: $(Build.SourcesDirectory)
58+
ob_outputDirectory: $(Build.SourcesDirectory)/${{ job_data.templateContext.repositoryArtifact }}
6059
ob_artifactSuffix: _$(artifact)
6160
ob_git_checkout: false
62-
ob_extract_root_artifact: true
6361
steps:
6462
- task: DownloadPipelineArtifact@2
6563
inputs:
6664
targetPath: $(Build.SourcesDirectory)/${{ job_data.templateContext.repositoryArtifact }}
6765
artifact: '${{ job_data.templateContext.repositoryArtifact }}'
6866

67+
- task: ExtractFiles@1
68+
inputs:
69+
archiveFilePatterns: '**/*.tgz;**/*.tgz.gz;**/*.zip'
70+
destinationFolder: $(Build.SourcesDirectory)
71+
overwriteExistingFiles: true
72+
6973
- task: onebranch.pipeline.signing@1
7074
inputs:
7175
command: 'sign'

0 commit comments

Comments
 (0)