diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db0d69d..5ad6899 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,11 @@ concurrency: on: workflow_dispatch: + inputs: + force: + description: 'force build' + required: false + default: false pull_request: types: [labeled, synchronize] @@ -70,7 +75,7 @@ jobs: - name: Build example for Android run: | - yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" + yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --force="${{ inputs.force }}" - name: Upload APK uses: actions/upload-artifact@v3 @@ -166,7 +171,7 @@ jobs: - name: Build example for iOS run: | - yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" + yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --force="${{ inputs.force }}" - name: Upload IPA uses: actions/upload-artifact@v3 diff --git a/example/android/app/src/main/assets/dang.mp3 b/example/android/app/src/main/assets/dang.mp3 deleted file mode 100644 index 777246e..0000000 Binary files a/example/android/app/src/main/assets/dang.mp3 and /dev/null differ diff --git a/example/android/app/src/main/assets/ding.mp3 b/example/android/app/src/main/assets/ding.mp3 deleted file mode 100644 index 1e309e1..0000000 Binary files a/example/android/app/src/main/assets/ding.mp3 and /dev/null differ diff --git a/example/android/app/src/main/assets/effect.mp3 b/example/android/app/src/main/assets/effect.mp3 deleted file mode 100644 index edde60d..0000000 Binary files a/example/android/app/src/main/assets/effect.mp3 and /dev/null differ diff --git a/example/ios/AgoraRtmNgExample.xcodeproj/project.pbxproj b/example/ios/AgoraRtmNgExample.xcodeproj/project.pbxproj index 68b3304..18995c3 100644 --- a/example/ios/AgoraRtmNgExample.xcodeproj/project.pbxproj +++ b/example/ios/AgoraRtmNgExample.xcodeproj/project.pbxproj @@ -13,9 +13,6 @@ 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; F5652807291BE31F00793068 /* agora-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = F56527FF291BE31E00793068 /* agora-logo.png */; }; - F5652809291BE31F00793068 /* ding.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F5652801291BE31E00793068 /* ding.mp3 */; }; - F565280A291BE31F00793068 /* dang.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F5652802291BE31E00793068 /* dang.mp3 */; }; - F57F54D62A03AEA8008DFB3C /* effect.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = F57F54D52A03AEA7008DFB3C /* effect.mp3 */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -44,11 +41,8 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AgoraRtmNgExample/LaunchScreen.storyboard; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; F56527FF291BE31E00793068 /* agora-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "agora-logo.png"; sourceTree = ""; }; - F5652801291BE31E00793068 /* ding.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = ding.mp3; sourceTree = ""; }; - F5652802291BE31E00793068 /* dang.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = dang.mp3; sourceTree = ""; }; F5652812291BE33F00793068 /* ReplayKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ReplayKit.framework; path = System/Library/Frameworks/ReplayKit.framework; sourceTree = SDKROOT; }; F5652820291C0EE700793068 /* hermes.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = hermes.xcframework; path = "Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework"; sourceTree = ""; }; - F57F54D52A03AEA7008DFB3C /* effect.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = effect.mp3; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -130,9 +124,6 @@ isa = PBXGroup; children = ( F56527FF291BE31E00793068 /* agora-logo.png */, - F5652801291BE31E00793068 /* ding.mp3 */, - F5652802291BE31E00793068 /* dang.mp3 */, - F57F54D52A03AEA7008DFB3C /* effect.mp3 */, ); path = Resources; sourceTree = ""; @@ -199,9 +190,6 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - F5652809291BE31F00793068 /* ding.mp3 in Resources */, - F57F54D62A03AEA8008DFB3C /* effect.mp3 in Resources */, - F565280A291BE31F00793068 /* dang.mp3 in Resources */, 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, F5652807291BE31F00793068 /* agora-logo.png in Resources */, @@ -457,7 +445,7 @@ OTHER_LDFLAGS = ( "$(inherited)-Wl", "-ld_classic", - " ", + "-Wl -ld_classic ", ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; @@ -531,7 +519,7 @@ OTHER_LDFLAGS = ( "$(inherited)-Wl", "-ld_classic", - " ", + "-Wl -ld_classic ", ); REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; diff --git a/example/ios/Resources/dang.mp3 b/example/ios/Resources/dang.mp3 deleted file mode 100644 index 777246e..0000000 Binary files a/example/ios/Resources/dang.mp3 and /dev/null differ diff --git a/example/ios/Resources/ding.mp3 b/example/ios/Resources/ding.mp3 deleted file mode 100644 index 1e309e1..0000000 Binary files a/example/ios/Resources/ding.mp3 and /dev/null differ diff --git a/example/ios/Resources/effect.mp3 b/example/ios/Resources/effect.mp3 deleted file mode 100644 index edde60d..0000000 Binary files a/example/ios/Resources/effect.mp3 and /dev/null differ