Skip to content
代码片段 群组 项目
未验证 提交 2558166b 编辑于 作者: Nate McMaster's avatar Nate McMaster 提交者: GitHub
浏览文件

Run code sign of packages before Windows installers are built, and run SignCheck in a separate step

上级 f3072339
No related branches found
No related tags found
无相关合并请求
...@@ -63,14 +63,20 @@ jobs: ...@@ -63,14 +63,20 @@ jobs:
- script: ./build.cmd -ci -sign -forceCoreMsbuild /p:DisableCodeSigning=true -projects ./src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj - script: ./build.cmd -ci -sign -forceCoreMsbuild /p:DisableCodeSigning=true -projects ./src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj
displayName: Build SiteExtension displayName: Build SiteExtension
# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If https://github.com/dotnet/arcade/issues/1957 is resolved,
# consider running code-signing inline with the other previous steps.
# Sign check is disabled because it is run in a separate step below, after installers are built.
- script: ./build.cmd -ci -sign /t:CodeSign /p:SignType=$(_SignType) /p:DisableSignCheck=true
displayName: Code sign packages
# Windows installers bundle both x86 and x64 assets # Windows installers bundle both x86 and x64 assets
- powershell: ./src/Installers/Windows/build.ps1 -ci /p:SignType=$(_SignType) - powershell: ./src/Installers/Windows/build.ps1 -ci /p:SignType=$(_SignType)
displayName: Build Installers displayName: Build Installers
# This runs code-signing on all outputs as defined in build/CodeSign.targets. If https://github.com/dotnet/arcade/issues/1957 is resolved, # Run sign check to verify everything was code signed.
# consider running code-signing inline with the other previous steps. - script: ./build.cmd -ci -sign /t:SignCheck /p:SignType=$(_SignType)
- script: ./build.cmd -ci -sign /t:CodeSign /t:SignCheck /p:SignType=$(_SignType) displayName: Run sign check
displayName: Code sign packages condition: eq(variables['_SignType'], 'real')
artifacts: artifacts:
- name: Windows_Packages - name: Windows_Packages
path: artifacts/packages/ path: artifacts/packages/
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册