From 3cd4bc7c3128b0a0292b7ba27eb59f8d3cf91e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Leki=C4=87?= Date: Mon, 2 Jan 2023 20:02:35 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a0dce1..37f7024 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,15 +33,15 @@ 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 }} @@ -49,4 +49,4 @@ jobs: draft: true generate_release_notes: true append_body: true - body: ${{ steps.checksum.outputs.checksum }} \ No newline at end of file + body_path: checksum_md.txt \ No newline at end of file