From ddab5aca99214efe81150fae8c86d1726ceb324c Mon Sep 17 00:00:00 2001 From: Maicon Filippsen Date: Mon, 12 Apr 2021 07:42:01 -0300 Subject: [PATCH] Add file checksums as part of release description --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b6bde..8073ccd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,10 +24,14 @@ jobs: - uses: actions/checkout@v2 - name: Build + id: build run: | curl -s https://get.space.sh | sudo sh sh ./make.sh - ls -lhat ./release + cd release + echo ::set-output name=podcversion::$(sha256sum --tag podc) + echo ::set-output name=podcruntimeversion::$(sha256sum --tag podc-podman-runtime) + cd .. - name: Create Release id: create_release @@ -39,8 +43,8 @@ jobs: release_name: ${{ github.ref }} body: | Check the attachments below for this release's prebuilt executables: - * podc - * podc-podman-runtime + * ${{ steps.build.outputs.podcversion }} + * ${{ steps.build.outputs.podcruntimeversion }} draft: false prerelease: false