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"