Minimize cache size (closes #53)

Add --depth=1 to the git fetch command to minimize the git repositories size. A test showed that this reduced the cache size from 7507 MB to 962 MB.
This commit is contained in:
Marc Wrobel
2022-12-27 12:02:14 +01:00
committed by Nemo
parent f8386e2343
commit a061e41789
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ jobs:
path: ~/.cache
# The cache is reset on the first build of every week this way.
# Change the -1 part if you need to force reset the cache
key: "${{ steps.current-time.outputs.formattedTime }}-1"
key: "${{ steps.current-time.outputs.formattedTime }}-2"
- uses: actions/checkout@v3
name: Clone self repository
with: