From 2b8a19cf64169cd8bfaff460a9221258c5e3db99 Mon Sep 17 00:00:00 2001 From: Katherine Kiefer Date: Tue, 11 Jun 2024 15:08:06 +1000 Subject: [PATCH] redo that --- .github/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71851ea..1773be1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,6 +59,20 @@ jobs: args: --target i686-unknown-linux-gnu --release --features "citadel_reactions katmos" if: matrix.os == 'ubuntu-20.04' + - name: Generate checksum for release files + uses: Solratic/checksum-action@v1 + with: + pattern: "target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }}" + suffix: "sha256" + + - name: Upload checksum files to release + uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }}.sha256 + asset_name: ${{ matrix.artifact_name }} + tag: ${{ github.ref }} + - name: Upload binary to release uses: svenstaro/upload-release-action@v1-release with: