浏览代码

CI: Enable build cache for the Flatpak workflow

This allows caching build objects, and using ccache to skip
building them on follow-up runs.
Georges Basile Stavracas Neto 4 年之前
父节点
当前提交
334146ee36
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/flatpak.yml

+ 2 - 1
.github/workflows/flatpak.yml

@@ -35,8 +35,9 @@ jobs:
         submodules: 'recursive'
 
     - name: Build Flatpak Manifest
-      uses: bilelmoussaoui/flatpak-github-actions@v2
+      uses: bilelmoussaoui/flatpak-github-actions@master
       if: success() && (github.event_name != 'pull_request' || env.SEEKING_TESTERS == '1')
       with:
         bundle: obs-studio-${{ github.sha }}.flatpak
         manifest-path: CI/flatpak/com.obsproject.Studio.json
+        cache-key: flatpak-builder-${{ github.sha }}