From a73e6bcc0da99de088b503f4adceeb3a4afcf264 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Mon, 12 Sep 2022 13:15:12 -0500 Subject: [PATCH] Add sha256sum for appimage artifact. --- .github/workflows/publish-appimage.yml | 9 ++++++--- appimage/build.sh | 7 ++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-appimage.yml b/.github/workflows/publish-appimage.yml index 0edb927d..21a52c24 100644 --- a/.github/workflows/publish-appimage.yml +++ b/.github/workflows/publish-appimage.yml @@ -55,11 +55,14 @@ jobs: gpg --import appimage/secret.gpg - name: Build AppImage run: ./appimage/build.sh - - name: Archive AppImage - uses: actions/upload-artifact@v2 + - name: Upload AppImage artifact + uses: actions/upload-artifact@v3 with: - name: conky-appimage-amd64 path: conky*.AppImage + - name: Upload AppImage artifact + uses: actions/upload-artifact@v3 + with: + path: conky*.AppImage.sha256 - name: Create Conky Release id: create_release uses: softprops/action-gh-release@v1 diff --git a/appimage/build.sh b/appimage/build.sh index 243c89b9..c4818b52 100755 --- a/appimage/build.sh +++ b/appimage/build.sh @@ -74,4 +74,9 @@ chmod +x appimagetool-x86_64.AppImage ./appimagetool-x86_64.AppImage AppDir --sign --sign-key E3034071 -mv conky*.AppImage "$OLD_CWD" +for f in conky*.AppImage +do + sha256sum $f > $f.sha256 +done + +mv conky*.AppImage* "$OLD_CWD"