File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff 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}")
You can’t perform that action at this time.
0 commit comments