CI: Enable build cache for the Flatpak workflow

This allows caching build objects, and using ccache to skip
building them on follow-up runs.
This commit is contained in:
Georges Basile Stavracas Neto 2021-03-31 16:49:30 -03:00 committed by Matt Gajownik
parent 916d6d4bf2
commit 334146ee36

View File

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