Skip to content

Commit 08338fc

Browse files
author
Mirroring
committed
Merge commit '2d5c0b720cf0c7244996512dabcb504acdbaa221'
2 parents 509fea1 + 2d5c0b7 commit 08338fc

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

eng/pipelines/common/macos-sign-with-entitlements.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
parameters:
22
filesToSign: []
3+
timeoutInMinutes: '30'
34

45
steps:
56
- task: UseDotNet@2
6-
displayName: 'Use .NET Core SDK 2.1.808'
7+
displayName: Install .NET 6 SDK for signing.
78
inputs:
8-
packageType: sdk
9-
version: 2.1.808
9+
packageType: 'sdk'
10+
version: '6.0.x'
11+
installationPath: '$(Agent.TempDirectory)/dotnet'
1012

1113
- ${{ each file in parameters.filesToSign }}:
1214
- script: codesign -s - -f --entitlements ${{ file.entitlementsFile }} ${{ file.path }}/${{ file.name }}
@@ -53,6 +55,14 @@ steps:
5355
"toolVersion": "1.0"
5456
}
5557
]
58+
SessionTimeout: ${{ parameters.timeoutInMinutes }}
59+
MaxConcurrency: '50'
60+
MaxRetryAttempts: '5'
61+
PendingAnalysisWaitTimeoutMinutes: '5'
62+
env:
63+
DOTNET_MULTILEVEL_LOOKUP: 0
64+
DOTNET_ROOT: '$(Agent.TempDirectory)/dotnet'
65+
DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR: '$(Agent.TempDirectory)/dotnet'
5666

5767
- task: ExtractFiles@1
5868
displayName: 'Extract MacOS after signing'

0 commit comments

Comments
 (0)