diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b650b0c6a..59e17753f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,7 +34,7 @@ jobs: - name: Upload screenshot result uses: actions/upload-artifact@v1 with: - name: screencap + name: ${{ matrix.api-level }} path: screencap.png - name: create unit coverage diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index 20c9a4eae..1649bb9e1 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -3,7 +3,6 @@ adb logcat -c adb logcat *:E -v color & ./gradlew jacocoInstrumentationTestReport -adb remount adb shell screencap -p /sdcard/screencap.png adb pull /sdcard/screencap.png find screencap.png