From 4bbf689a6c6f6235c2f936d966fab5121348a457 Mon Sep 17 00:00:00 2001 From: ypoplavs Date: Wed, 26 Oct 2022 23:52:14 +0300 Subject: [PATCH] fix in windows pipeline --- .github/workflows/release.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 82cbe1a15..a6161390d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -245,16 +245,13 @@ jobs: - name: Download newest version id: cliDownload run: | - $tag = $env:TAG - Invoke-Webrequest -UseBasicParsing -URI "https://github.com/kubeshop/kusk-gateway/releases/download/v${tag}/kusk_${tag}_Windows_x86_64.tar.gz" -OutFile kusk.tar.gz + Invoke-Webrequest -UseBasicParsing -URI "https://github.com/kubeshop/kusk-gateway/releases/download/v${{steps.tag.outputs.tag}}/kusk_${{steps.tag.outputs.tag}}_Windows_x86_64.tar.gz" -OutFile kusk.tar.gz $hash = Get-FileHash kusk.tar.gz | Select -ExpandProperty Hash #setting set-output function for now since new commands with were not working as expected echo '::echo::on' echo "::set-output name=hash::$hash" - env: - TAG: ${{steps.tag.outputs.tag}} - name: Update choco files run: |