diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31339582..fb56861c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,9 +50,9 @@ jobs: path: | ~/.gradle/wrapper ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }} + key: ${{ runner.os }}-gradle-false-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }} restore-keys: | - ${{ runner.os }}-gradle- + ${{ runner.os }}-gradle-false- - name: Modify APP ID run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6672677f..777e1951 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,9 +103,9 @@ jobs: path: | ~/.gradle/wrapper ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }} + key: ${{ runner.os }}-gradle-${{ matrix.newArch }}-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }} restore-keys: | - ${{ runner.os }}-gradle- + ${{ runner.os }}-gradle-${{ matrix.newArch }}- - name: Install Detox dependencies shell: bash diff --git a/turbo.json b/turbo.json index 0eedab86..a416a7b7 100644 --- a/turbo.json +++ b/turbo.json @@ -15,7 +15,7 @@ "!example/android/app/build" ], "outputs": [ - "example/android/app/build/outputs/apk/release/app-release.apk" + "example/android/app/build/outputs/apk/*" ] }, "build:ios": { @@ -31,8 +31,8 @@ "!example/ios/Pods" ], "outputs": [ - "example/ios/AgoraRtcNgExample.ipa", - "example/ios/AgoraRtcNgExample.app.dSYM" + "example/ios/*.ipa", + "example/ios/*.app.dSYM" ] }, "detox:android": { @@ -49,7 +49,7 @@ "!example/android/app/build" ], "outputs": [ - "example/android/app/build/outputs/apk/release/app-release.apk" + "example/android/app/build/outputs/apk/**" ] }, "detox:ios": { @@ -65,7 +65,7 @@ "!example/ios/Pods" ], "outputs": [ - "example/ios/build/Build/Products/Release-iphonesimulator/AgoraRtcNgExample.app" + "example/ios/build/Build/Products/**" ] } }