Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Goksi committed Jan 2, 2023
1 parent 07d7ab7 commit 3cd4bc7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ jobs:
run: mvn -B package --file pom.xml

- name: Generate checksum
id: checksum
run: |
cd target/
CHECKSUM=`sha256sum ${{ steps.version.outputs.name }}`
echo $CHECKSUM > ../checksum.txt
echo -e "checksum=### SHA256 checksum\n\`\`\`\n$CHECKSUM\n\`\`\`\n" >> $GITHUB_OUTPUT
cd ..
echo $CHECKSUM > checksum.txt
echo -e "### SHA256 Checksum\n\`\`\`\n$CHECKSUM\n\`\`\`" > checksum_md.txt
- name: Create release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
with:
files: |
target/${{ steps.version.outputs.name }}
checksum.txt
draft: true
generate_release_notes: true
append_body: true
body: ${{ steps.checksum.outputs.checksum }}
body_path: checksum_md.txt

0 comments on commit 3cd4bc7

Please sign in to comment.