From 44dee302c9b0e75fd7d21100e6053c93b3fde599 Mon Sep 17 00:00:00 2001 From: Spike <19519553+spikecodes@users.noreply.github.com> Date: Sat, 27 Mar 2021 20:11:05 +0000 Subject: [PATCH] Publish SHA512 checksums for future releases --- .github/workflows/rust.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 763944c..626aa77 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,6 +33,9 @@ jobs: run: | echo "::set-output name=version::$(cargo metadata --format-version 1 --no-deps | jq .packages[0].version -r | sed 's/^/v/')" echo "::set-output name=tag::${GITHUB_REF#refs/*/}" + + - name: Calculate SHA512 checksum + run: sha512sum target/release/libreddit > libreddit.sha512 - name: Release uses: softprops/action-gh-release@v1 @@ -40,7 +43,9 @@ jobs: tag_name: ${{ steps.version.outputs.version }} name: ${{ steps.version.outputs.version }} - NAME draft: true - files: target/release/libreddit + files: | + target/release/libreddit + libreddit.sha512 body: | - CHANGES