Skip to content

Commit

Permalink
Update daily-build.yml for Azure Pipelines (#23550)
Browse files Browse the repository at this point in the history
* Update daily-build.yml for Azure Pipelines

* update esrp sign
  • Loading branch information
Nickcandy authored and VeryEarly committed Nov 27, 2023
1 parent 1f21d32 commit a96a54f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .azure-pipelines/code-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
Copy-Item .\setup\InstallerChecks.dll -Destination $Env:RepoArtifacts/
Copy-Item .\setup\Microsoft.Deployment.WindowsInstaller.dll -Destination $Env:RepoArtifacts/
displayName: 'Before Signing'
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Sign Dll [Authenticode + Strong Name]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
}
]
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Sign Scripts [Authenticode]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
}
]
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Sign 3rd Party [Strong Name]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand All @@ -173,7 +173,7 @@ jobs:
}
]
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Sign 3rd Party [Authenticode]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
- script: '"%wix%\sdk\MakeSfxCA.exe" "%cd%\setup\InstallerChecks.CA.dll" "%cd%\setup\SfxCA.dll" "%cd%\setup\InstallerChecks.dll" "%cd%\setup\Microsoft.Deployment.WindowsInstaller.dll;%cd%\setup\InstallerChecks\InstallerChecks\CustomAction.config"'
displayName: 'Generate InstallerCheck.CA.dll'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Sign Installercheck.CA.dll [Authenticode]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
displayName: 'Expand modules'
condition: and(succeeded(), ne(variables['SignPsd1'], 'false'))

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Psd1 Signing [Authenticode]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
Unregister-PSRepository -Name MSIcreationrepository
displayName: 'Build Installer'
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Installer Signing [Authenticode]'
inputs:
ConnectedServiceName: 'ESRP Signing Service'
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
custom: msbuild
arguments: 'build.proj /t:Build /p:Configuration=Release;TurnOnTestCoverage=true'

- task: EsrpCodeSigning@1
- task: EsrpCodeSigning@4
inputs:
ConnectedServiceName: '$(signServiceConnection)'
FolderPath: 'artifacts'
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
MaxConcurrency: '50'
MaxRetryAttempts: '5'

- task: EsrpCodeSigning@1
- task: EsrpCodeSigning@4
displayName: 'Sign 3rd Party [Strong Name]'
inputs:
ConnectedServiceName: '$(signServiceConnection)'
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/sign-tool-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:
custom: msbuild
arguments: 'tools\Az.Tools.Installer\build.proj /t:"Clean;Build;GenerateHelp" /p:Configuration=Release'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
displayName: 'Signing'
inputs:
ConnectedServiceName: $(signServiceConnection)
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/sign-tool-predictor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ steps:
packageType: 'runtime'
version: '2.1.x'

- task: EsrpCodeSigning@1
- task: EsrpCodeSigning@4
displayName: 'Signing'
inputs:
ConnectedServiceName: $(signServiceConnection)
Expand Down

0 comments on commit a96a54f

Please sign in to comment.