@@ -473,7 +473,7 @@ jobs:
473473 echo "=== Checking logcat for errors ==="
474474 adb logcat -d -s ReactNativeJS:* RiveExample:* RNRive:* | tail -200 || echo "No logs found"
475475
476- test-harness-ios-experimental :
476+ test-harness-ios-legacy :
477477 runs-on : macos-latest
478478 timeout-minutes : 90
479479 env :
@@ -496,16 +496,16 @@ jobs:
496496 with :
497497 path : |
498498 **/ios/Pods
499- key : ${{ runner.os }}-experimental -cocoapods-${{ hashFiles('example/ios/Podfile', '*.podspec') }}
499+ key : ${{ runner.os }}-legacy -cocoapods-${{ hashFiles('example/ios/Podfile', '*.podspec') }}
500500 restore-keys : |
501- ${{ runner.os }}-experimental -cocoapods-
501+ ${{ runner.os }}-legacy -cocoapods-
502502
503503 - name : Install cocoapods
504504 if : steps.cocoapods-cache.outputs.cache-hit != 'true'
505505 run : |
506506 cd example
507507 bundle install
508- USE_RIVE_NEW_API =1 bundle exec pod install --project-directory=ios
508+ USE_RIVE_LEGACY =1 bundle exec pod install --project-directory=ios
509509
510510 - name : Save cocoapods cache
511511 if : steps.cocoapods-cache.outputs.cache-hit != 'true'
@@ -520,9 +520,9 @@ jobs:
520520 uses : actions/cache/restore@v4
521521 with :
522522 path : example/ios/build
523- key : ${{ runner.os }}-ios-experimental -build-${{ env.XCODE_VERSION }}-${{ hashFiles('yarn.lock', 'ios/**', 'nitrogen/generated/ios/**', '*.podspec', 'example/ios/Podfile', 'example/ios/RiveExample/**') }}
523+ key : ${{ runner.os }}-ios-legacy -build-${{ env.XCODE_VERSION }}-${{ hashFiles('yarn.lock', 'ios/**', 'nitrogen/generated/ios/**', '*.podspec', 'example/ios/Podfile', 'example/ios/RiveExample/**') }}
524524 restore-keys : |
525- ${{ runner.os }}-ios-experimental -build-${{ env.XCODE_VERSION }}-
525+ ${{ runner.os }}-ios-legacy -build-${{ env.XCODE_VERSION }}-
526526
527527 - name : Build iOS app
528528 if : steps.ios-build-cache.outputs.cache-hit != 'true'
@@ -580,7 +580,7 @@ jobs:
580580 echo "=== Checking simulator logs for errors ==="
581581 xcrun simctl spawn booted log show --predicate 'processImagePath CONTAINS "RiveExample"' --last 5m --style compact 2>&1 | tail -200 || echo "No logs found"
582582
583- test-harness-android-experimental :
583+ test-harness-android-legacy :
584584 runs-on : ubuntu-latest
585585 timeout-minutes : 30
586586 env :
@@ -602,19 +602,19 @@ jobs:
602602 run : |
603603 /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
604604
605- - name : Enable experimental Rive API
605+ - name : Enable legacy Rive backend
606606 run : |
607- sed -i 's/USE_RIVE_NEW_API=false/USE_RIVE_NEW_API= true/' example/android/gradle.properties
607+ echo "USE_RIVE_LEGACY= true" >> example/android/gradle.properties
608608
609609 - name : Cache Gradle
610610 uses : actions/cache@v4
611611 with :
612612 path : |
613613 ~/.gradle/wrapper
614614 ~/.gradle/caches
615- key : ${{ runner.os }}-gradle-harness-experimental -${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
615+ key : ${{ runner.os }}-gradle-harness-legacy -${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
616616 restore-keys : |
617- ${{ runner.os }}-gradle-harness-experimental -
617+ ${{ runner.os }}-gradle-harness-legacy -
618618 ${{ runner.os }}-gradle-harness-
619619 ${{ runner.os }}-gradle-
620620
@@ -623,9 +623,9 @@ jobs:
623623 uses : actions/cache/restore@v4
624624 with :
625625 path : example/android/app/build
626- key : ${{ runner.os }}-android-experimental -build-${{ env.ANDROID_API_LEVEL }}-${{ hashFiles('yarn.lock', 'android/**', 'nitrogen/generated/android/**', 'example/android/app/build.gradle', 'example/android/gradle.properties') }}
626+ key : ${{ runner.os }}-android-legacy -build-${{ env.ANDROID_API_LEVEL }}-${{ hashFiles('yarn.lock', 'android/**', 'nitrogen/generated/android/**', 'example/android/app/build.gradle', 'example/android/gradle.properties') }}
627627 restore-keys : |
628- ${{ runner.os }}-android-experimental -build-${{ env.ANDROID_API_LEVEL }}-
628+ ${{ runner.os }}-android-legacy -build-${{ env.ANDROID_API_LEVEL }}-
629629
630630 - name : Build Android app
631631 if : steps.android-build-cache.outputs.cache-hit != 'true'
0 commit comments