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'