From 6d309457bf5555134d544d7cfeef4155b3a5a4d9 Mon Sep 17 00:00:00 2001 From: B0ney <40839054+B0ney@users.noreply.github.com> Date: Sun, 11 Feb 2024 11:26:48 +0000 Subject: [PATCH] include checksums in releases --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08f8ef0..f99db2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,16 @@ jobs: uses: actions/download-artifact@v3 with: path: bin + - name: Generate Checksum + run: | + ARTIFACTS="bin" + find "$ARTIFACTS" -type f -exec sha256sum '{}' + | sed 's, .*/, ,' > SHA256SUMS.txt - name: Create pre-release uses: softprops/action-gh-release@v1 with: - files: bin/*/xmodits-* + files: | + bin/*/xmodits-* + SHA256SUMS.txt prerelease: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}