diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 70b9f996..88e8e95e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -120,7 +120,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: "17" + java-version: "17" - uses: expo/expo-github-action@v8 @@ -143,27 +143,20 @@ jobs: - name: Get device name id: device-name - run: echo "::set-output name=DEVICE_NAME::$(node -e "console.log(require('./detox.config.js').devices.emulator.device.avdName)")" - # run: echo "::set-output name=DEVICE_NAME::$(adb devices | grep emulator | cut -f1)" + run: + echo "::set-output name=DEVICE_NAME::$(node -e "console.log(require('./detox.config.js').devices.emulator.device.avdName)")" + # run: echo "::set-output name=DEVICE_NAME::$(adb devices | grep emulator | cut -f1)" - name: Detox test # uses: wixplosives/detox-action@v2 uses: reactivecircus/android-emulator-runner@v2 with: - api-level: 33 - arch: x86_64 - avd-name: ${{ steps.device-name.outputs.DEVICE_NAME }} - emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - # emulator-build: stable - script: npm run detox:test:android:ci - - - - name: Build android APK - run: | - cd ./android && ./gradlew assembleRelease --no-daemon --stacktrace - find . -type f -name '*.apk' 2>/dev/null - cd ${{ env.GITHUB_WORKSPACE }} - shell: bash + api-level: 33 + arch: x86_64 + avd-name: ${{ steps.device-name.outputs.DEVICE_NAME }} + emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + # emulator-build: stable + script: npm run detox:test:android:ci - name: Save Cache id: cache-save diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 52d5de97..89bbad23 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -36,5 +36,3 @@ jobs: uses: codecov/codecov-action@v3 with: token: ${{secrets.CODECOV_TOKEN}} - -# 18.x, 20.x, \ No newline at end of file