From fb9ac5f45cb54b2515a79ec4e3bf54e85b741676 Mon Sep 17 00:00:00 2001 From: Xargon Date: Sat, 21 May 2022 13:53:20 +0900 Subject: [PATCH] WORKFLOW: added .flatpak-builder/downloads to cache to speed up the building --- .github/workflows/cooker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index a4c99121..76fa1962 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -41,7 +41,8 @@ jobs: search_artifacts: true continue-on-error: true - - name: Extracting cache + # not needed maybe? + - name: Extracting global cache run: | tar --skip-old-files -xzvf retrodeck-cooker.tar.gz rm -f retrodeck-cooker.tar.gz @@ -67,7 +68,7 @@ jobs: touch retrodeck-cooker.tar.gz rm -rf .flatpak-builder/build/*-{2,3,4,5,6} find .flatpak-builder/build -xtype l -exec rm {} \; # removing dead symlinks - tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz retrodeck-flatpak-cooker + tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz retrodeck-flatpak-cooker .flatpak-builder/downloads - name: Upload build specific cache uses: actions/upload-artifact@v3 @@ -147,7 +148,7 @@ jobs: touch retrodeck-cooker.tar.gz rm -rf .flatpak-builder/build/*-{2,3,4,5,6} find .flatpak-builder/build -xtype l -exec rm {} \; # removing dead symlinks - tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz retrodeck-flatpak-cooker + tar --ignore-failed-read -czvf retrodeck-cooker.tar.gz retrodeck-flatpak-cooker .flatpak-builder/downloads continue-on-error: true - name: Upload global cache