Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #639 from book000/ci/add-asset-sha256sum
Browse files Browse the repository at this point in the history
ci: add asset sha256sum.txt
  • Loading branch information
book000 authored Jan 18, 2022
2 parents d615d6a + 161cde1 commit 3261db9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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'
Expand Down

0 comments on commit 3261db9

Please sign in to comment.