From 43348c542c09e8a6df471887dcdbb8213fdb834e Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Tue, 5 Jan 2021 18:03:23 +0000 Subject: [PATCH] trying installing AST --- .github/workflows/build-and-sign.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-sign.yml b/.github/workflows/build-and-sign.yml index d35eea235b..c151d13a94 100644 --- a/.github/workflows/build-and-sign.yml +++ b/.github/workflows/build-and-sign.yml @@ -27,13 +27,32 @@ jobs: npm --version dotnet --version - exit 1 + - name: Install AST + shell: pwsh + run: | + cd $HOME + + git clone https://github.com/vcsjones/AzureSignTool.git + cd AzureSignTool + $latest_head = $(git rev-parse HEAD)[0..9] -join "" + $latest_version = "0.0.0-g$latest_head" + + Write-Host "--------" + Write-Host "git commit - $(git rev-parse HEAD)" + Write-Host "latest_head - $latest_head" + Write-Host "PACKAGE VERSION TO BUILD - $latest_version" + Write-Host "--------" + + cd $HOME - name: Checkout repo uses: actions/checkout@v2 - name: Load package version - run: ./.github/scripts/load-version.ps1 + run: | + ./.github/scripts/load-version.ps1 + + exit 1 shell: pwsh - name: Install Node dependencies