Skip to content

Commit b12f881

Browse files
authored
Reduce emscripten cache size by removing everything but llvm, clang and build folders (#460)
1 parent 46b25e4 commit b12f881

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .github/workflows/emscripten.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ jobs:
339339
../llvm
340340
emmake ninja clang clang-repl lld -j ${{ env.ncpus }}
341341
fi
342-
cd ../..
342+
cd ../
343+
rm -rf $(find . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
344+
cd ../
343345
344346
- name: Build LLVM/Cling on Windows systems if the cache is invalid
345347
if: ${{ runner.os == 'windows' && steps.cache.outputs.cache-hit != 'true' }}

0 commit comments

Comments
 (0)