Skip to content

Commit 44cd8e9

Browse files
committed
remove
Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent 65946d7 commit 44cd8e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/_build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ jobs:
116116
python -c "import torch; print('CUDA:', torch.version.cuda)"
117117
python -c "from torch.utils import cpp_extension; print (cpp_extension.CUDA_HOME)"
118118
119+
- name: Prepare for cache (remove git metadata)
120+
if: always()
121+
run: |
122+
find csrc/ -name ".git*" -exec rm -rf {} + 2>/dev/null || true
123+
119124
- name: Restore build cache
120125
uses: actions/cache/restore@v4
121126
with:
@@ -125,9 +130,6 @@ jobs:
125130
dist
126131
csrc/
127132
key: build-${{ inputs.release-version }}-${{ inputs.python-version }}-${{ inputs.cuda-version }}-${{ inputs.torch-version }}-${{ inputs.cxx11-abi }}
128-
exclude: |
129-
**/.git
130-
**/.git/**
131133

132134
- name: Log build logs
133135
run: |

0 commit comments

Comments
 (0)