diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aad036f5ba..88afa14ce2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,11 +44,11 @@ jobs: - name: Build iOS WebRTC lib run: | mkdir webrtc_ios && cd webrtc_ios - fetch --nohooks webrtc_ios + fetch --nohooks --no-history webrtc_ios gclient sync cd src git checkout -b branch_${{ env.WEBRTC_BRANCH }} branch-heads/${{ env.WEBRTC_BRANCH }} - gclient sync -D + gclient sync -D --no-history echo "Applying patches..." pwd @@ -60,12 +60,14 @@ jobs: cd tools_webrtc/ios python build_ios_libs.py - - name: Generate checksum - run: swift package compute-checksum webrtc_ios/src/out_ios_libs/WebRTC.xcframework + - name: Zip & generate checksum + run: | + zip webrtc_ios/src/out_ios_libs/WebRTC.xcframework.zip webrtc_ios/src/out_ios_libs/WebRTC.xcframework + swift package compute-checksum webrtc_ios/src/out_ios_libs/WebRTC.xcframework.zip - name: Upload build uses: actions/upload-artifact@v4 with: name: WebRTC.xcframework - path: webrtc_ios/src/out_ios_libs/WebRTC.xcframework + path: webrtc_ios/src/out_ios_libs/WebRTC.xcframework.zip retention-days: 4