Skip to content

Commit 897c619

Browse files
authored
Delete artifacts during packaging to save space. (#338)
1 parent cdf2b55 commit 897c619

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ jobs:
457457
declare -a additional_flags
458458
tar -xvzf artifacts/packaging-tools-${tools_platform}/packaging-tools.tgz -C bin
459459
chmod -R u+x bin
460+
# To save space, delete any artifacts that we don't need for packaging.
461+
for pkg in artifacts/firebase-cpp-sdk-*; do
462+
if [[ "${pkg}" != "artifacts/firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix }}"* ]]; then
463+
echo "Deleting unneeded artifact: ${pkg}"
464+
rm -rf "${pkg}"
465+
fi
466+
done
460467
for pkg in artifacts/firebase-cpp-sdk-${{ matrix.sdk_platform }}${{ matrix.suffix }}*-build/*.tgz; do
461468
# determine the build variant based on the artifact filename
462469
variant=$(sdk-src/build_scripts/desktop/get_variant.sh "${pkg}")

external/vcpkg

Submodule vcpkg updated 3772 files

0 commit comments

Comments
 (0)