ARTIFACT: removing files while compressing to save space

This commit is contained in:
xargon 2022-05-11 17:20:12 +09:00
parent 5080164826
commit 5c577c1b62

View file

@ -143,7 +143,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 .flatpak-builder retrodeck-flatpak-cooker tar --ignore-failed-read --remove-files -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
- name: Upload build specific cache - name: Upload build specific cache
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@ -191,7 +191,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 .flatpak-builder retrodeck-flatpak-cooker # tar --ignore-failed-read --remove-files -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
# - name: Upload build specific cache # - name: Upload build specific cache
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
@ -244,7 +244,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 .flatpak-builder retrodeck-flatpak-cooker tar --ignore-failed-read --remove-files -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
- name: Upload build specific cache - name: Upload build specific cache
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@ -298,7 +298,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 .flatpak-builder retrodeck-flatpak-cooker tar --ignore-failed-read --remove-files -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
- name: Upload build specific cache - name: Upload build specific cache
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@ -361,7 +361,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 .flatpak-builder retrodeck-flatpak-cooker tar --ignore-failed-read --remove-files -czvf retrodeck-cooker.tar.gz .flatpak-builder retrodeck-flatpak-cooker
- name: Upload global cache - name: Upload global cache
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3