Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

delete workflow

ammarahm-ed3acc3931aa9f
diff --git a/apps/mobile/.github/workflows/main.yml b/apps/mobile/.github/workflows/main.yml
deleted file mode 100644
index 35d7ec7f0..000000000
--- a/apps/mobile/.github/workflows/main.yml
+++ /dev/null
@@ -1,48 +0,0 @@
-name: Android
-
-on: [push]
-
-jobs:
- build:
- runs-on: ubuntu-20.04
- timeout-minutes: 15
-
- steps:
- - uses: actions/checkout@v2
- with:
- persist-credentials: false
-
- - name: Use Node.js v15
- uses: actions/[email protected]
- with:
- node-version: 15.x
-
- - name: Install node_modules
- run: yarn install --concurrency 2 --frozen-lockfile --cache-folder .yarncache
-
- - name: Use specific Java version for the builds
- uses: joschi/setup-jdk@v2
- with:
- java-version: 'openjdk8'
- architecture: 'x64'
-
- - name: Download Android Emulator Image
- run: |
- echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-29;google_apis;x86"
- echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd --force --name emu --device "Nexus 5X" -k 'system-images;android-29;google_apis;x86'
- $ANDROID_HOME/emulator/emulator -list-avds
-
- - name: Build for detox
- run: |
- yarn build-detox-android
- - name: Android Emulator
- timeout-minutes: 10
- continue-on-error: true
- run: |
- echo "Starting emulator"
- nohup $ANDROID_HOME/emulator/emulator -avd emu -accel off -gpu off -no-window -no-boot-anim -no-snapshot -no-audio -verbose &
- $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
- $ANDROID_HOME/platform-tools/adb devices
- echo "Emulator started"
- - name: Android Detox
- run: yarn start & yarn test-detox-android