From e853ec6461414f8ab4ec38459ccd43f6b1f4554e Mon Sep 17 00:00:00 2001 From: Loren Posen Date: Thu, 17 Oct 2024 21:08:13 -0700 Subject: [PATCH] Add conditional execution for device name retrieval in Android E2E workflow --- .github/workflows/e2e-android.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e-android.yml b/.github/workflows/e2e-android.yml index 8b9b11317..92a0acdab 100644 --- a/.github/workflows/e2e-android.yml +++ b/.github/workflows/e2e-android.yml @@ -70,6 +70,7 @@ jobs: run: echo "[]" > ~/.local/share/Detox/device.registry.state.lock - name: Get device name + if: ${{ success() || failure() }} id: device run: node -e "console.log('AVD_NAME=' + require('./example/.detoxrc').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT