Skip to content

Commit

Permalink
fix in windows pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Oct 26, 2022
1 parent 44d595d commit 4bbf689
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 4bbf689

Please sign in to comment.