From b11655fdeed5835308cb7c016bb6769887ec4ff1 Mon Sep 17 00:00:00 2001 From: Jonathan Steffan Date: Wed, 1 Jul 2026 09:05:25 -0600 Subject: [PATCH] fix(flatpak): use caching for builds --- .github/workflows/Build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 9db8759e..5038700a 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -172,6 +172,11 @@ jobs: with: manifest-path: flatpak/io.github.wivrn.wivrn.yml bundle: wivrn-server.flatpak + # The manifest is regenerated on every commit with the git hash embedded, + # so its default (manifest-hash) cache key never hits. Key on the files + # that actually define the dependency set instead, so the toolchain + # downloads and build cache persist across commits. + cache-key: flatpak-builder-${{ hashFiles('flatpak/io.github.wivrn.wivrn.yml.in', 'flatpak/ct-ng-x86_64.config', 'flatpak/ct-ng-aarch64.config', 'monado-rev', 'CMakeLists.txt') }} - name: Debug bundle uses: actions/upload-artifact@v7