mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +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
|
search_artifacts: true
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Extracting cache
|
# not needed maybe?
|
||||||
|
- name: Extracting global cache
|
||||||
run: |
|
run: |
|
||||||
tar --skip-old-files -xzvf retrodeck-cooker.tar.gz
|
tar --skip-old-files -xzvf retrodeck-cooker.tar.gz
|
||||||
rm -f retrodeck-cooker.tar.gz
|
rm -f retrodeck-cooker.tar.gz
|
||||||
|
@ -67,7 +68,7 @@ jobs:
|
||||||
touch retrodeck-cooker.tar.gz
|
touch retrodeck-cooker.tar.gz
|
||||||
rm -rf .flatpak-builder/build/*-{2,3,4,5,6}
|
rm -rf .flatpak-builder/build/*-{2,3,4,5,6}
|
||||||
find .flatpak-builder/build -xtype l -exec rm {} \; # removing dead symlinks
|
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
|
- name: Upload build specific cache
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -147,7 +148,7 @@ jobs:
|
||||||
touch retrodeck-cooker.tar.gz
|
touch retrodeck-cooker.tar.gz
|
||||||
rm -rf .flatpak-builder/build/*-{2,3,4,5,6}
|
rm -rf .flatpak-builder/build/*-{2,3,4,5,6}
|
||||||
find .flatpak-builder/build -xtype l -exec rm {} \; # removing dead symlinks
|
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
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Upload global cache
|
- name: Upload global cache
|
||||||
|
|
Loading…
Reference in a new issue