diff --git a/.az-pipelines/windows-build-sign.yml b/.az-pipelines/windows-build-sign.yml index a358211337..9694dd363e 100644 --- a/.az-pipelines/windows-build-sign.yml +++ b/.az-pipelines/windows-build-sign.yml @@ -17,6 +17,11 @@ steps: versionSpec: '10.x' displayName: 'Install Node.js' +- script: | + set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + dotnet tool install --global AzureSignTool --version 2.0.17 + displayName: 'install AzureSignTool' + - task: PowerShell@2 inputs: targetType: 'inline' diff --git a/sign.js b/sign.js index 4458ecbc5c..ff70bf0f71 100644 --- a/sign.js +++ b/sign.js @@ -1,8 +1,8 @@ exports.default = async function(configuration) { - console.log(`config:\n${JSON.stringify(configuration)}`) + console.log(`config:\n${JSON.stringify(configuration, null, 4)}`) require("child_process").execSync( - `echo 'Heyo!'`, + `azuresigntool sign --help`, { stdio: "inherit" }