From 452e95741ab8493a12faf85735b64d901653c5d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Thu, 22 Jun 2023 15:20:19 +0200 Subject: [PATCH] Update workflow --- .github/workflows/build-artifacts.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 9da82d6..ed2e4ff 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -31,18 +31,16 @@ jobs: run: make build_tar.xz - name: Get the version - id: get_version run: echo "version=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_ENV" - name: Generate sha256 - id: gen_sha256 - run: echo "sha256=$(sha256sum artifacts/x64/*.{deb,rpm,snap,AppImage,tar.xz} | awk '{ print $1 }')" >> "$GITHUB_ENV" + run: echo "$(sha256sum {deezer.flatpakref,artifacts/x64/*.{deb,rpm,snap,AppImage,tar.xz}})" > sha256 - name: create release uses: softprops/action-gh-release@v1 with: tag_name: ${{ env.version }} - body: 'Update to version ${{ env.version }}\nsha256:\n${{ env.sha256 }}' + body: 'Update to version ${{ env.version }}' draft: false files: | deezer.flatpakref @@ -51,3 +49,4 @@ jobs: artifacts/x64/*.snap artifacts/x64/*.AppImage artifacts/x64/*.tar.xz + sha256