diff --git a/.github/actions/test-ios-rntester/action.yml b/.github/actions/test-ios-rntester/action.yml index 8f8e19a88dbd86..077b798b8a6130 100644 --- a/.github/actions/test-ios-rntester/action.yml +++ b/.github/actions/test-ios-rntester/action.yml @@ -130,7 +130,10 @@ runs: -derivedDataPath "/tmp/RNTesterBuild" echo "Print path to *.app file" - find "/tmp/RNTesterBuild" -type d -name "*.app" + APP_PATH=$(find "/tmp/RNTesterBuild" -type d -name "*.app") + + echo "App found at $APP_PATH" + echo "app-path=$APP_PATH" >> $GITHUB_ENV - name: "Run Tests: iOS Unit and Integration Tests" if: ${{ inputs.run-unit-tests == 'true' }} shell: bash @@ -150,6 +153,11 @@ runs: with: name: xcresults path: /Users/distiller/Library/Developer/Xcode/xcresults.tar.gz + - name: Upload RNTester App + uses: actions/upload-artifact@v4.3.4 + with: + name: RNTesterApp-${{ inputs.architecture }}-${{ inputs.jsengine }}-${{ inputs.flavor }} + path: ${{ env.app-path }} - name: Store test results if: ${{ inputs.run-unit-tests == 'true' }} uses: actions/upload-artifact@v4.3.4