From f9a5128bff5ca41836154c5438ee7b4c10c78a28 Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Fri, 5 Jun 2020 08:26:19 -0400 Subject: [PATCH] Added creating a SHA file for the release artifact [#98] --- .github/workflows/create-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index cc6b8eb61..d7e3351f0 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -25,12 +25,14 @@ jobs: since_tag: v0.5.2-2 - name: Build project run: mvn package -Pci -DskipTests -Dassembly-name=RELEASE + - name: Create SHA file. + run: shasum comixed-app/target/artifacts/comixed-app-0.7.0-0-RELEASE.zip > comixed-app-0.7.0-0.RELEASE.zip-sha - name: Upload release artifact uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: body_path: CHANGELOG.md files: | comixed-app/target/artifacts/comixed-app-0.7.0-0-RELEASE.zip + comixed-app-0.7.0-0.RELEASE.zip-sha env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}