From 0f4ce036521d99d203180cbf95257ed5df89aab8 Mon Sep 17 00:00:00 2001 From: Filipe PINTO Date: Thu, 29 Aug 2024 10:13:39 +0200 Subject: [PATCH] Fix release sha256 csv format --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f62d3861cd..5b0e20cdd55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -331,14 +331,14 @@ jobs: artifacts/release-macos-aarch64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-aarch64-apple-darwin.tar.gz \ artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc-installer.exe \ artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc.zip - echo "file sha256" > ${{ needs.set-context.outputs.release_version }}.sha256.csv - find ./artifacts -name "*sha256" | xargs -I FILE sh -c 'echo "$(basename FILE) $(cat FILE)"' >> ${{ needs.set-context.outputs.release_version }}.sha256.csv + echo "file,sha256" > release-${{ needs.set-context.outputs.release_version }}.sha256.csv + find ./artifacts -name "*sha256" | xargs -I FILE sh -c 'echo "$(basename FILE),$(cat FILE)"' >> release-${{ needs.set-context.outputs.release_version }}.sha256.csv - name: Archive sha256 artifacts uses: actions/upload-artifact@v4.3.6 with: name: release-sha256-csv - path: ${{ needs.set-context.outputs.release_version }}.sha256.csv + path: release-${{ needs.set-context.outputs.release_version }}.sha256.csv - name: Deliver release