mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 12:51:36 +00:00
actions: fix caching excludes
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -1027,7 +1027,8 @@ jobs:
|
|||||||
else
|
else
|
||||||
tar_folders="bin/"
|
tar_folders="bin/"
|
||||||
fi
|
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:
|
merge:
|
||||||
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
||||||
|
|||||||
Reference in New Issue
Block a user