diff --git a/.github/ci/build/build_ios.sh b/.github/ci/build/build_ios.sh index 36a48a0da..c3ce9c7a9 100644 --- a/.github/ci/build/build_ios.sh +++ b/.github/ci/build/build_ios.sh @@ -74,13 +74,17 @@ else rm -rf ./$unzip_name/bin rm ./$unzip_name/commits rm ./$unzip_name/package_size_report.txt + + rm ./$unzip_name/.commits + rm ./$unzip_name/AgoraInfra_iOS.swift + rm ./$unzip_name/AgoraRtcEngine_iOS.podspec + rm ./$unzip_name/Package.swift mkdir -p ./$unzip_name/samples cp -rf ./iOS/${ios_direction} ./$unzip_name/samples/${ios_direction} || exit 1 ls -al ./$unzip_name/samples/${ios_direction}/ mv ./$unzip_name/samples/${ios_direction}/sdk.podspec ./$unzip_name/ || exit 1 fi -echo "work space1: $WORKSPACE" python3 ./.github/ci/build/modify_podfile.py ./$unzip_name/samples/${ios_direction}/Podfile $sdk_url_flag || exit 1 echo "start compress" diff --git a/.github/ci/build/build_mac.sh b/.github/ci/build/build_mac.sh index a9c0fa1ee..9d17566d5 100644 --- a/.github/ci/build/build_mac.sh +++ b/.github/ci/build/build_mac.sh @@ -75,6 +75,11 @@ else rm -rf ./$unzip_name/bin rm ./$unzip_name/commits rm ./$unzip_name/package_size_report.txt + rm ./$unzip_name/.commits + rm ./$unzip_name/AgoraInfra_macOS.swift + rm ./$unzip_name/AgoraRtcEngine_macOS.podspec + rm ./$unzip_name/Package.swift + mkdir ./$unzip_name/samples cp -rf ./macOS ./$unzip_name/samples/APIExample || exit 1 ls -al ./$unzip_name/samples/API-Example/