Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
build(ci): fix Linux AppImage bundling in publish workflow
Richie McIlroy1690d2134e90
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 5616adf20..95c47182c 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -280,10 +280,16 @@ jobs:- name: Build appworking-directory: apps/desktop- run: pnpm build:tauri --target ${{ matrix.settings.target }} --config src-tauri/tauri.prod.conf.json ${{ runner.os == 'Linux' && '--bundles deb,appimage' || '' }}+ run: pnpm build:tauri --target ${{ matrix.settings.target }} --config src-tauri/tauri.prod.conf.json ${{ runner.os == 'Linux' && '--bundles deb,appimage --verbose' || '' }}env:# https://github.com/tauri-apps/tauri-action/issues/740CI: false+ # linuxdeploy resolves each binary's dependencies with ldd. Our main+ # binary and the cap-muxer/cap-exporter/cap-cli sidecars link the+ # bundled FFmpeg libs via rpath $ORIGIN, which no longer resolves once+ # linuxdeploy copies them into AppDir/usr/bin. Point ldd at the staged+ # FFmpeg libs so it can find and bundle them instead of aborting.+ LD_LIBRARY_PATH: ${{ runner.os == 'Linux' && format('{0}/target/{1}/release:{0}/target/native-deps/lib', github.workspace, matrix.settings.target) || '' }}# linuxdeploy chokes on `strip` for libraries using modern ELF# relocation (`.relr.dyn`) such as our bundled FFmpeg .so files,# failing with "failed to run linuxdeploy". NO_STRIP skips that step.@@ -291,6 +297,8 @@ jobs:# appimagetool (invoked by linuxdeploy) is itself an AppImage and the# ubuntu-24.04 runners have no FUSE, so force extract-and-run.APPIMAGE_EXTRACT_AND_RUN: ${{ runner.os == 'Linux' && '1' || '' }}+ # appimagetool aborts if it can't infer the AppDir architecture; pin it.+ ARCH: ${{ runner.os == 'Linux' && 'x86_64' || '' }}GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}# codesigningAPPLE_CERTIFICATE: ${{ runner.os == 'macOS' && secrets.APPLE_CERTIFICATE || '' }}