Add cache

This commit is contained in:
Micah Lee 2022-10-05 10:40:16 -07:00
parent b25a29ff84
commit 299b4d4613
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -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