mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 19:27:56 +01:00
[Build] Sign PowerToysSetupCustomActions.dll (#12746)
This commit is contained in:
5
.pipelines/build-installer-PTCustomActions.cmd
Normal file
5
.pipelines/build-installer-PTCustomActions.cmd
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
cd /D "%~dp0"
|
||||||
|
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
|
||||||
|
SET IsPipeline=1
|
||||||
|
call msbuild ../installer/PowerToysSetup.sln /target:PowerToysSetupCustomActions /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1
|
||||||
@@ -177,7 +177,7 @@ build:
|
|||||||
- 'Settings\Telemetry.dll'
|
- 'Settings\Telemetry.dll'
|
||||||
- 'Settings\ManagedCommon.dll'
|
- 'Settings\ManagedCommon.dll'
|
||||||
signing_options:
|
signing_options:
|
||||||
sign_inline: true # This does signing a soon as this command completes
|
sign_inline: true # This does signing as soon as this command completes
|
||||||
- !!buildcommand
|
- !!buildcommand
|
||||||
name: 'Build Power Toys Tools'
|
name: 'Build Power Toys Tools'
|
||||||
command: '.pipelines\build-tools.cmd'
|
command: '.pipelines\build-tools.cmd'
|
||||||
@@ -188,7 +188,17 @@ build:
|
|||||||
- 'BugReportTool\BugReportTool.exe'
|
- 'BugReportTool\BugReportTool.exe'
|
||||||
- 'WebcamReportTool\WebcamReportTool.exe'
|
- 'WebcamReportTool\WebcamReportTool.exe'
|
||||||
signing_options:
|
signing_options:
|
||||||
sign_inline: true # This does signing a soon as this command completes
|
sign_inline: true # This does signing as soon as this command completes
|
||||||
|
- !!buildcommand
|
||||||
|
name: 'Build Power Toys Installer Custom Action' # Need to do separately to sign dll before building installer
|
||||||
|
command: '.pipelines\build-installer-PTCustomActions.cmd'
|
||||||
|
artifacts:
|
||||||
|
- from: 'installer\PowerToysSetupCustomActions\x64\Release'
|
||||||
|
to: 'Build_Output'
|
||||||
|
include:
|
||||||
|
- 'PowerToysSetupCustomActions.dll'
|
||||||
|
signing_options:
|
||||||
|
sign_inline: true # This does signing as soon as this command completes
|
||||||
- !!buildcommand
|
- !!buildcommand
|
||||||
name: 'Build Power Toys Installer'
|
name: 'Build Power Toys Installer'
|
||||||
command: '.pipelines\build-installer.cmd'
|
command: '.pipelines\build-installer.cmd'
|
||||||
@@ -198,7 +208,7 @@ build:
|
|||||||
include:
|
include:
|
||||||
- 'PowerToysSetup-*.msi'
|
- 'PowerToysSetup-*.msi'
|
||||||
signing_options:
|
signing_options:
|
||||||
sign_inline: true # This does signing a soon as this command completes
|
sign_inline: true # This does signing as soon as this command completes
|
||||||
- !!buildcommand
|
- !!buildcommand
|
||||||
name: 'Build Power Toys Bootstrapper'
|
name: 'Build Power Toys Bootstrapper'
|
||||||
command: '.pipelines\build-bootstrapper.cmd'
|
command: '.pipelines\build-bootstrapper.cmd'
|
||||||
@@ -211,7 +221,7 @@ build:
|
|||||||
include:
|
include:
|
||||||
- 'PowerToysSetup-*.exe'
|
- 'PowerToysSetup-*.exe'
|
||||||
signing_options:
|
signing_options:
|
||||||
sign_inline: true # This does signing a soon as this command completes
|
sign_inline: true # This does signing as soon as this command completes
|
||||||
|
|
||||||
|
|
||||||
#package:
|
#package:
|
||||||
|
|||||||
Reference in New Issue
Block a user