@@ -177,10 +177,10 @@ jobs:
177
177
subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
178
178
179
179
- name : Sign payload files with Azure Code Signing
180
- uses :
azure/azure-code- [email protected] .1
180
+ uses :
azure/trusted- [email protected] .20
181
181
with :
182
182
endpoint : https://wus2.codesigning.azure.net/
183
- code -signing-account-name : git-fundamentals-signing
183
+ trusted -signing-account-name : git-fundamentals-signing
184
184
certificate-profile-name : git-fundamentals-windows-signing
185
185
files-folder : ${{ github.workspace }}\payload
186
186
files-folder-filter : exe,dll
@@ -204,10 +204,10 @@ jobs:
204
204
-Destination $env:GITHUB_WORKSPACE\installers
205
205
206
206
- name : Sign installers with Azure Code Signing
207
- uses :
azure/azure-code- [email protected] .1
207
+ uses :
azure/trusted- [email protected] .20
208
208
with :
209
209
endpoint : https://wus2.codesigning.azure.net/
210
- code -signing-account-name : git-fundamentals-signing
210
+ trusted -signing-account-name : git-fundamentals-signing
211
211
certificate-profile-name : git-fundamentals-windows-signing
212
212
files-folder : ${{ github.workspace }}\installers
213
213
files-folder-filter : exe
@@ -353,27 +353,20 @@ jobs:
353
353
env :
354
354
AST : ${{ secrets.AZURE_STORAGE_ACCOUNT }}
355
355
ASC : ${{ secrets.AZURE_STORAGE_CONTAINER }}
356
- SCT : ${{ secrets.SIGN_CLI_TOOL }}
356
+ SCT : ' Sign.Cli-alpha.zip '
357
357
run : |
358
358
az storage blob download --file sign-cli.zip --auth-mode login `
359
359
--account-name $env:AST --container-name $env:ASC --name $env:SCT
360
360
Expand-Archive -Path sign-cli.zip -DestinationPath .\sign-cli
361
361
362
362
- name : Sign payload
363
- env :
364
- ACST : ${{ secrets.AZURE_TENANT_ID }}
365
- ACSI : ${{ secrets.AZURE_CLIENT_ID }}
366
- ACSS : ${{ secrets.AZURE_CLIENT_SECRET }}
367
363
run : |
368
- ./sign-cli/sign.exe code azcodesign payload/* `
369
- -acsu https://wus2.codesigning.azure.net/ `
370
- -acsa git-fundamentals-signing `
371
- -acscp git-fundamentals-windows-signing `
364
+ ./sign-cli/sign.exe code trusted-signing payload/* `
365
+ -tse https://wus2.codesigning.azure.net/ `
366
+ -tsa git-fundamentals-signing `
367
+ -tscp git-fundamentals-windows-signing `
372
368
-d "Git Fundamentals Windows Signing Certificate" `
373
- -u "https://github.com/git-ecosystem/git-credential-manager" `
374
- -acst $env:ACST `
375
- -acsi $env:ACSI `
376
- -acss $env:ACSS
369
+ -u "https://github.com/git-ecosystem/git-credential-manager"
377
370
378
371
- name : Lay out signed payload, images, and symbols
379
372
shell : bash
@@ -444,28 +437,21 @@ jobs:
444
437
env :
445
438
AST : ${{ secrets.AZURE_STORAGE_ACCOUNT }}
446
439
ASC : ${{ secrets.AZURE_STORAGE_CONTAINER }}
447
- SCT : ${{ secrets.SIGN_CLI_TOOL }}
440
+ SCT : ' Sign.Cli-alpha.zip '
448
441
run : |
449
442
az storage blob download --file sign-cli.zip --auth-mode login `
450
443
--account-name $env:AST --container-name $env:ASC --name $env:SCT
451
444
Expand-Archive -Path sign-cli.zip -DestinationPath .\sign-cli
452
445
453
446
- name : Sign package
454
- env :
455
- ACST : ${{ secrets.AZURE_TENANT_ID }}
456
- ACSI : ${{ secrets.AZURE_CLIENT_ID }}
457
- ACSS : ${{ secrets.AZURE_CLIENT_SECRET }}
458
447
run : |
459
- ./sign-cli/sign.exe code azcodesign nupkg/* `
460
- -acsu https://wus2.codesigning.azure.net/ `
461
- -acsa git-fundamentals-signing `
462
- -acscp git-fundamentals-windows-signing `
448
+ ./sign-cli/sign.exe code trusted-signing nupkg/* `
449
+ -tse https://wus2.codesigning.azure.net/ `
450
+ -tsa git-fundamentals-signing `
451
+ -tscp git-fundamentals-windows-signing `
463
452
-d "Git Fundamentals Windows Signing Certificate" `
464
453
-u "https://github.com/git-ecosystem/git-credential-manager" `
465
- -acst $env:ACST `
466
- -acsi $env:ACSI `
467
- -acss $env:ACSS `
468
- -acsc nuget-signing-certificate.cer
454
+ -co nuget-signing-certificate.cer
469
455
470
456
mv nupkg/* .
471
457
0 commit comments