Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix(ci): generate and upload AppImage zsync files for delta updates

InstaZDLLe8214cf13b3e
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 351c8a7c..891ff517 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -71,6 +71,20 @@ jobs:
includeUpdaterJson: false
args: ${{ matrix.args }}
+ - name: Generate and upload AppImage zsync files
+ if: contains(matrix.platform, 'ubuntu')
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ sudo apt-get install -y zsync
+ TAG="${GITHUB_REF#refs/tags/}"
+ for appimage in src-tauri/target/release/bundle/appimage/*.AppImage; do
+ if [ -f "$appimage" ]; then
+ zsyncmake "$appimage" -u "$(basename "$appimage")"
+ gh release upload "$TAG" "${appimage}.zsync" --repo "${{ github.repository }}" --clobber
+ fi
+ done
+
- name: Upload Windows portable binary
if: matrix.platform == 'windows-latest'
env: