From 60dec5f1cab2324190f0369b7ab1a7c95849239e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 15 Sep 2022 19:35:15 +0200 Subject: [PATCH] Avoid leaking secrets --- azure-pipelines-windows-template-qt6.yml | 1 + azure-pipelines-windows-template.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/azure-pipelines-windows-template-qt6.yml b/azure-pipelines-windows-template-qt6.yml index 28cb5659..9f10274a 100644 --- a/azure-pipelines-windows-template-qt6.yml +++ b/azure-pipelines-windows-template-qt6.yml @@ -51,6 +51,7 @@ jobs: set PATH=C:\Qt\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin;%PATH% cd $(Build.SourcesDirectory)\ci\win .\create_installer.cmd ${{ parameters.architecture }} 7z $(Build.BuildNumber) qt6 $(Agent.TempDirectory)\certificate.pfx $($env:PASSWORD) + write-output: "##vso[task.setsecret]$(pfxPassword)" env: PASSWORD: $(pfxPassword) displayName: 'Create installer' diff --git a/azure-pipelines-windows-template.yml b/azure-pipelines-windows-template.yml index b343bd55..c49ea3bc 100644 --- a/azure-pipelines-windows-template.yml +++ b/azure-pipelines-windows-template.yml @@ -51,6 +51,7 @@ jobs: set PATH=C:\Qt\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin;%PATH% cd $(Build.SourcesDirectory)\ci\win .\create_installer.cmd ${{ parameters.architecture }} 7z $(Build.BuildNumber) qt5 $(Agent.TempDirectory)\certificate.pfx $($env:PASSWORD) + write-output: "##vso[task.setsecret]$(pfxPassword)" env: PASSWORD: $(pfxPassword) displayName: 'Create installer'