From 02e0d181c83d02120f87da1a1d32712c54c32ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 7 Dec 2023 00:57:27 +0000 Subject: [PATCH] Work CI-CD - Fix syntax on multiple line command. - Fix task name. ***NO_CI*** --- azure-pipelines.yml | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b83aa0abff..9e3494866a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -843,7 +843,7 @@ jobs: configuration: 'Release' - task: DotNetCoreCLI@2 - displayName: Install SignTool tool + displayName: Install Sign Client CLI condition: >- and( succeeded(), @@ -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 @@ -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 @@ -1048,7 +1048,7 @@ jobs: configuration: 'Release' - task: DotNetCoreCLI@2 - displayName: Install SignTool tool + displayName: Install Sign Client CLI condition: >- and( succeeded(), @@ -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 @@ -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