From 727723194afef1d850d511f901f0efea24b1b256 Mon Sep 17 00:00:00 2001 From: moosq <53606936+moosq@users.noreply.github.com> Date: Mon, 23 Oct 2023 11:11:54 +0200 Subject: [PATCH] find hub.exe --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d839bd4..8cfbfc37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,12 +31,12 @@ jobs: run: | Invoke-WebRequest https://github.com/github/hub/releases/download/v2.14.2/hub-windows-amd64-2.14.2.zip -OutFile hub.zip Expand-Archive hub.zip -DestinationPath C:\hub - $env:PATH += ";C:\hub" + $env:PATH += ";C:\hub\bin" - name: Download ntt.exe id: download_exe shell: bash run: | - hub release download "${GITHUB_REF#refs/tags/}" -i ntt_Windows_x86_64.tar.gz + hub.exe release download "${GITHUB_REF#refs/tags/}" -i ntt_Windows_x86_64.tar.gz printf "::set-output name=zip::%s\n" *.tar.gz tar xzf ntt_Windows_x86_64.tar.gz && rm ntt_Windows_x86_64.tar.gz env: