From 161cde1c74417e017944bb547941379b7b86bce4 Mon Sep 17 00:00:00 2001 From: "Tomachi [ICHIGO]" Date: Tue, 18 Jan 2022 10:23:34 +0900 Subject: [PATCH] ci: add asset sha256sum.txt --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c189573a6..b89953149 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,6 +71,17 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: target/*.jar + - name: Calculate hash + working-directory: ./target + run: | + sha256sum *.jar > sha256sum.txt + + - name: Upload Release Asset sha256sum.txt + uses: shogo82148/actions-upload-release-asset@v1.5.0 + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: target/sha256sum.txt + - name: Released comment uses: actions/github-script@v5 if: github.event_name == 'pull_request_target'