Skip to content

Commit 56c49c7

Browse files
authored
Reduce disk space usage when packaging the built SDK (#763)
Remove intermediate build files during desktop packaging step. This should reduce the disk space usage, as those files (*.o and *.obj) are not required when merging libraries.
1 parent 11505cc commit 56c49c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ jobs:
433433
run: |
434434
cd out-sdk
435435
find .. -type f -print > src_file_list.txt
436+
# Remove intermediate build files (.o and .obj) files to save space.
437+
find . -type f -name '*.o' -or -name '*.obj' -print0 | xargs -0 rm -f --
436438
tar -czhf ../firebase-cpp-sdk-${{ env.SDK_NAME }}-build.tgz .
437439
438440
- name: Print built libraries

0 commit comments

Comments
 (0)