actions: fix caching excludes

This commit is contained in:
Jay Lee
2025-10-02 12:35:49 -04:00
committed by GitHub
parent 1ef5d030f6
commit 98370925e7

View File

@@ -1027,7 +1027,8 @@ jobs:
else
tar_folders="bin/"
fi
tar cJvvf cache.tar.xz $tar_folders --exclude=.git
echo '.git*' > ./excludes.txt
tar cJvvf --exclude-from excludes.txt cache.tar.xz $tar_folders
merge:
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')