refactor(ci): remove useless job

This commit is contained in:
plebeius
2025-12-03 12:51:13 +01:00
parent 596312357f
commit 5eceba0134
-54
View File
@@ -288,57 +288,3 @@ jobs:
ls -R dist
exit 1
fi
test-android:
name: Test Android
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js v22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'yarn'
- name: Setup Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Install dependencies
run: |
for i in 1 2 3; do
echo "yarn install attempt $i"
yarn install --frozen-lockfile --ignore-engines --network-timeout 100000 --network-concurrency 1 && break
sleep 5
[ "$i" = "3" ] && exit 1
done
- name: Build React App
run: yarn build
env:
CI: ''
- name: Sync Capacitor
run: npx cap sync android
- name: Build Android APK
run: |
cd android
chmod +x gradlew
./gradlew assembleDebug
- name: Verify APK exists
run: |
APK=$(find android/app/build/outputs/apk -name "*.apk" | head -n 1)
if [ -n "$APK" ]; then
echo "✓ APK built successfully: $APK"
ls -lh "$APK"
else
echo "✗ No APK found"
exit 1
fi