Skip to content

Commit

Permalink
Use ESRP v3 (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Petrochuk (from Dev Box) <[email protected]>
  • Loading branch information
petrochuk and anpetroc authored Jan 20, 2024
1 parent 6328e8f commit e608a78
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ jobs:
version: 3.1.x
installationPath: '$(Agent.ToolsDirectory)/dotnet'

# Dotnet 2.1 appears to be required for ESRP signing
- task: UseDotNet@2
displayName: 'Use dotnet sdk 2.1'
inputs:
version: 2.1.x
installationPath: '$(Agent.ToolsDirectory)/dotnet'

- task: CodeQL3000Init@0

- task: DotNetCoreCLI@2
Expand All @@ -68,7 +61,7 @@ jobs:
mergeTestResults: true
failTaskOnFailedTests: true

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@3
displayName: 'ESRP sign Microsoft.PowerPlatform.Formulas.Tools.dll'
inputs:
ConnectedServiceName: 'ESRPCodeSigningConnection'
Expand Down Expand Up @@ -126,7 +119,7 @@ jobs:
projects: '$(Build.SourcesDirectory)/targets/targets.csproj'
arguments: '-- pack -c $(BuildConfiguration)'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@3
displayName: 'ESRP sign nuget packages'
inputs:
ConnectedServiceName: ESRPCodeSigningConnection
Expand Down

0 comments on commit e608a78

Please sign in to comment.