File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 4545 with :
4646 repository : ${{ inputs.repository }}
4747 path : ' lfs_data_cache/lfs_source'
48- fetch-depth : 0
48+ fetch-depth : 1
4949 lfs : false
5050
5151 - name : Set LFS sha env var from repository
8080 repository : ${{ inputs.repository }}
8181 ref : ${{env.lfs_data_cache_sha}}
8282 path : ' lfs_data_cache/lfs_data'
83- fetch-depth : 0
83+ fetch-depth : 1
8484 lfs : true
8585
86+ - name : Remove not needed .git folder
87+ working-directory : ${{github.workspace}}/lfs_data_cache/lfs_data
88+ shell : bash
89+ run : rm -rf .git
90+
8691 - name : Upload LFS artifact
8792 if : |
8893 steps.cache-lfs.outputs.cache-hit != 'true' &&
9297 name : lfs-data-${{inputs.cache_postfix}}
9398 path : ' lfs_data_cache/lfs_data'
9499 overwrite : true
95- include-hidden-files : true
96100
97101 - name : Download LFS artifact
98102 id : download-artifact
@@ -115,7 +119,7 @@ runs:
115119 repository : ${{ inputs.repository }}
116120 ref : ${{env.lfs_data_cache_sha}}
117121 path : ' lfs_data_cache/lfs_data'
118- fetch-depth : 0
122+ fetch-depth : 1
119123 lfs : true
120124
121125 - name : Save LFS data cache
You can’t perform that action at this time.
0 commit comments