From e7ddca606fbf9854053c22f122801ac142ef20d3 Mon Sep 17 00:00:00 2001 From: Nathanael DEMACON Date: Wed, 28 Feb 2024 11:18:06 +0100 Subject: [PATCH] ci: only put hash in windows checksum Signed-off-by: Nathanael DEMACON --- .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 db86134..4d6f08c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: if: ${{ matrix.target.os != 'windows' }} - name: Compute checksums - run: Get-FileHash -Algorithm SHA256 -Path "target/${{ matrix.target.rust-target }}/release/sshs${{ steps.set_extension.outputs.extension }}" | Out-File -FilePath "target/${{ matrix.target.rust-target }}/release/sshs${{ steps.set_extension.outputs.extension }}.sha256" + run: (Get-FileHash -Algorithm SHA256 -Path "target/${{ matrix.target.rust-target }}/release/sshs${{ steps.set_extension.outputs.extension }}").Hash | Out-File -FilePath "target/${{ matrix.target.rust-target }}/release/sshs${{ steps.set_extension.outputs.extension }}.sha256" if: ${{ matrix.target.os == 'windows' }} shell: pwsh