Skip to content

Commit f2b28ea

Browse files
committed
Cosmetic
1 parent 2b86b40 commit f2b28ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/android-emulator-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android Emulator
1+
name: Android
22

33
on:
44
workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
1717
contents: read
1818

1919
jobs:
20-
android-emulator:
20+
emulator:
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 45
2323
strategy:
@@ -57,7 +57,7 @@ jobs:
5757
key: avd-${{ matrix.api-level }}
5858

5959
- name: create AVD and generate snapshot for caching
60-
if: steps.avd-cache.outputs.cache-hit != 'true'
60+
if: ${{ steps.avd-cache.outputs.cache-hit != 'true' }}
6161
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # v2.34.0
6262
with:
6363
api-level: ${{ matrix.api-level }}
@@ -77,7 +77,7 @@ jobs:
7777
script: ./gradlew connectedCheck --stacktrace || (adb logcat '[Embrace]:d' '*:S' -t 100000 > emulator_logcat.log && adb pull /storage/emulated/0/Android/data/io.embrace.android.embracesdk.test/cache/test_failure/ && exit 127)
7878

7979
- name: Archive Test Results
80-
if: always()
80+
if: ${{ always() && matrix.working-directory == '.' }}
8181
uses: actions/upload-artifact@v4
8282
with:
8383
name: android-emulator-${{ matrix.working-directory }}-test-results

0 commit comments

Comments
 (0)