From 4aa15708bef832e74f3456c62ff3b5da6039b1ad Mon Sep 17 00:00:00 2001 From: Stephen Horvath Date: Sat, 6 Sep 2025 10:26:40 +1000 Subject: [PATCH] Manually set LD_LIBRARY_PATH on CI --- .github/workflows/pyinstaller-linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pyinstaller-linux.yml b/.github/workflows/pyinstaller-linux.yml index b434494..8e7af13 100644 --- a/.github/workflows/pyinstaller-linux.yml +++ b/.github/workflows/pyinstaller-linux.yml @@ -20,7 +20,8 @@ jobs: - name: Build YAFI via Pip run: pip install . - name: Build with PyInstaller - run: pyinstaller yafi.spec + # pyinstaller doesn't find the GTK libraries after caching? + run: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu pyinstaller yafi.spec working-directory: pyinstaller - name: Upload PyInstaller Artifact uses: actions/upload-artifact@v4