|
|
|
@ -328,7 +328,7 @@ jobs:
|
|
|
|
|
|| echo "Recording new screenshots"
|
|
|
|
|
; ./gradlew connectedDemoDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.google.samples.apps.nowinandroid.ui.InstrumentedScreenshotTests -Pdropshots.record --daemon --stacktrace
|
|
|
|
|
; echo "Done recording new screenshots, exiting with failure"
|
|
|
|
|
; echo ::set-output name=newgoldens::true
|
|
|
|
|
; echo "newgoldens=true" >> $GITHUB_OUTPUT ; exit 5
|
|
|
|
|
|
|
|
|
|
- name: Prevent pushing new screenshots if this is a fork
|
|
|
|
|
id: checkfork_screenshots_instrumented
|
|
|
|
|