Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Fix syntax on multiple line command.
- Fix task name.

***NO_CI***
  • Loading branch information
josesimoes committed Dec 7, 2023
1 parent 95b8190 commit 591537f
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ jobs:
configuration: 'Release'

- task: DotNetCoreCLI@2
displayName: Install SignTool tool
displayName: Install Sign Client CLI
condition: >-
and(
succeeded(),
Expand All @@ -852,7 +852,7 @@ jobs:
inputs:
command: custom
custom: tool
arguments: install --tool-path . SignClient
arguments: install --tool-path . sign --version 0.9.1-beta.23530.1

- pwsh: |
.\sign code azure-key-vault `
Expand All @@ -861,12 +861,12 @@ jobs:
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign nanoCLR assemblies
continueOnError: true
Expand Down Expand Up @@ -919,16 +919,16 @@ jobs:
- pwsh: |
.\sign code azure-key-vault `
"**/*.nupkg" `
--base-directory "$(Build.Repository.LocalPath)\build\bin\Release" `
--base-directory "$(Build.ArtifactStagingDirectory)" `
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR NuGets" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign packages
continueOnError: true
Expand Down Expand Up @@ -1048,7 +1048,7 @@ jobs:
configuration: 'Release'

- task: DotNetCoreCLI@2
displayName: Install SignTool tool
displayName: Install Sign Client CLI
condition: >-
and(
succeeded(),
Expand All @@ -1066,12 +1066,12 @@ jobs:
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR.CLI" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign nanoCLR assemblies
continueOnError: true
Expand All @@ -1094,16 +1094,16 @@ jobs:
- pwsh: |
.\sign code azure-key-vault `
"**/*.nupkg" `
--base-directory "$(Build.Repository.LocalPath)\build\bin\Release" `
--base-directory "$(Build.ArtifactStagingDirectory)" `
--file-list "$(Build.Repository.LocalPath)\config\filelist.txt" `
--publisher-name ".NET nanoFramework" `
--description "nanoFramework.nanoCLR.CLI NuGet" `
--description-url "https://github.com/$env:Build_Repository_Name"
--azure-key-vault-tenant-id "$(SignTenantId)"
--azure-key-vault-client-id "$(SignClientId)"
--azure-key-vault-client-secret "$(SignClientSecret)"
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
--description-url "https://github.com/$env:Build_Repository_Name" `
--azure-key-vault-tenant-id "$(SignTenantId)" `
--azure-key-vault-client-id "$(SignClientId)" `
--azure-key-vault-client-secret "$(SignClientSecret)" `
--azure-key-vault-certificate "$(SignKeyVaultCertificate)" `
--azure-key-vault-url "$(SignKeyVaultUrl)" `
--timestamp-url http://timestamp.digicert.com
displayName: Sign packages
continueOnError: true
Expand Down

0 comments on commit 591537f

Please sign in to comment.