Skip to content

Commit 6092b58

Browse files
committed
3rd times a charm
1 parent 2f161db commit 6092b58

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

eng/ci/templates/official/jobs/linux-package.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,23 @@ jobs:
4848
displayName: 'Upload Core Tools Unsigned Linux Package to the storage'
4949
condition: eq(variables['BuildOnly'], 'false')
5050
51-
- template: ci/sign-files.yml@eng
52-
parameters:
53-
displayName: 'Sign'
54-
folderPath: '/mnt/vss/_work/1/s/publish-scripts/artifact'
55-
pattern: '*.deb'
56-
signType: inline
57-
inlineOperation: |
58-
[
59-
{
60-
"keyCode": "CP-450779-Pgp",
61-
"operationSetCode": "LinuxSign",
62-
"parameters": [],
63-
"toolName": "signtool.exe",
64-
"toolVersion": "1.0"
65-
}
66-
]
67-
condition: eq(variables['BuildOnly'], 'false')
51+
- ${{ if eq(variables.BuildOnly, false) }}:
52+
- template: ci/sign-files.yml@eng
53+
parameters:
54+
displayName: 'Sign'
55+
folderPath: '/mnt/vss/_work/1/s/publish-scripts/artifact'
56+
pattern: '*.deb'
57+
signType: inline
58+
inlineOperation: |
59+
[
60+
{
61+
"keyCode": "CP-450779-Pgp",
62+
"operationSetCode": "LinuxSign",
63+
"parameters": [],
64+
"toolName": "signtool.exe",
65+
"toolVersion": "1.0"
66+
}
67+
]
6868
6969
- pwsh: |
7070
echo $env:LinuxPackageAccountName

0 commit comments

Comments
 (0)