mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
WORKFLOW: added .flatpak-builder/downloads to cache to speed up the building
This commit is contained in:
parent
813a0b2ea7
commit
6586bfddfa
7
.github/workflows/cooker.yml
vendored
7
.github/workflows/cooker.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue