From 299b4d4613dfa596feec44c1ad8ecc9db2a5b42a Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 5 Oct 2022 10:40:16 -0700 Subject: [PATCH] Add cache --- .github/workflows/build-flatpak.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-flatpak.yml b/.github/workflows/build-flatpak.yml index f818627b..b450313f 100644 --- a/.github/workflows/build-flatpak.yml +++ b/.github/workflows/build-flatpak.yml @@ -17,6 +17,18 @@ jobs: sudo apt install -y flatpak flatpak-builder flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo + - name: Restore cache - .flatpak-builder + uses: actions/cache@v3 + with: + path: flatpak/.flatpak-builder + key: ${{ runner.os }}-flatpak-.flatpak-builder + + - name: Restore cache - build + uses: actions/cache@v3 + with: + path: flatpak/build + key: ${{ runner.os }}-flatpak-build + - name: Flatpak build run: | cd flatpak