From cb30a43427c8f1e40624a0a5733e79ed64fbc61e Mon Sep 17 00:00:00 2001 From: sandhilt <6170125+sandhilt@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:27:31 -0300 Subject: [PATCH] ci: fix sha on windows --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d10bace..048f4b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,7 +139,7 @@ jobs: - name: Generate checksum (Windows) if: matrix.runner == 'windows-latest' - run: Get-FileHash tripa-${{ matrix.target }}.exe decode-batch-${{ matrix.target }}.exe -Algorithm SHA512 | Out-File -FilePath SHA512SUMS-${{ matrix.target }}.txt + run: Get-FileHash -Path tripa-${{ matrix.target }}.exe,decode-batch-${{ matrix.target }}.exe -Algorithm SHA512 | Select-Object @{Name='FileName'; Expression={($_.Path -split '\\')[-1]}}, Hash | Out-File -FilePath SHA512SUMS-${{ matrix.target }}.txt - name: Release uses: softprops/action-gh-release@v2