This repository was archived by the owner on Jul 26, 2023. It is now read-only.
File tree 4 files changed +31
-0
lines changed
4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "SignClient" : {
3
+ "AzureAd" : {
4
+ "AADInstance" : " https://login.microsoftonline.com/" ,
5
+ "ClientId" : " c248d68a-ba6f-4aa9-8a68-71fe872063f8" ,
6
+ "TenantId" : " 16076fdc-fcc1-4a15-b1ca-32c9a255900e"
7
+ },
8
+ "Service" : {
9
+ "Url" : " https://codesign.dotnetfoundation.org/" ,
10
+ "ResourceId" : " https://SignService/3c30251f-36f3-490b-a955-520addb85001"
11
+ }
12
+ }
13
+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ parameters:
4
4
jobs :
5
5
- job : Windows
6
6
pool : ${{ parameters.windowsPool }}
7
+ variables :
8
+ - group : pinvoke code signing
7
9
steps :
8
10
- checkout : self
9
11
clean : true
Original file line number Diff line number Diff line change @@ -10,6 +10,21 @@ steps:
10
10
- powershell : .\build.ps1 -Test
11
11
displayName : Test
12
12
13
+ - pwsh : >
14
+ dotnet tool install --tool-path obj SignClient
15
+
16
+ obj/SignClient sign
17
+ --baseDirectory '$(System.DefaultWorkingDirectory)/bin/$(BuildConfiguration)/Packages'
18
+ --input '**/*'
19
+ --config '$(System.DefaultWorkingDirectory)/azure-pipelines/SignClient.json'
20
+ --filelist '$(System.DefaultWorkingDirectory)/azure-pipelines/signfiles.txt'
21
+ --user '$(codesign_username)'
22
+ --secret '$(codesign_secret)'
23
+ --name 'PInvoke'
24
+ --descriptionUrl 'https://github.com/dotnet/pinvoke'
25
+ displayName : Code sign
26
+ condition : and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
27
+
13
28
- task : PowerShell@2
14
29
inputs :
15
30
filePath : azure-pipelines/variables/_pipelines.ps1
Original file line number Diff line number Diff line change
1
+ **/PInvoke.*.dll
You can’t perform that action at this time.
0 commit comments