diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index cb1b6a8d7..8d148eff5 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -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